Exemple #1
0
 public ExportedSecretKey(Unpacker unpacker)
 {
     KeyInfo = SecretKeyInfo.Restore(unpacker);
     //SecretInfo = new ScryptInput(unpacker);
     _encryption = Encryption.Restore(new ArraySegment <byte>(unpacker.UnpackByteArray()));
 }
Exemple #2
0
 public SecretKey(Unpacker unpacker)
 {
     KeyInfo = SecretKeyInfo.Restore(unpacker);
     //SecretInfo = new ScryptInput(unpacker);
     unpacker.Unpack(out SecretHash);
 }