Use try_from_rng for signing and secret keys
#1130
Merged
try_from_rng for signing and secret keys
#1130