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