Making the secret key language a bit more generic