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