Separate secrey key generation