add random secret key generator