Addded get_secret
added get_compressed()