Adoped secure coding