OpenSSHBcryptKdfOptions.decode constructor

OpenSSHBcryptKdfOptions.decode(
  1. Uint8List data
)

Implementation

factory OpenSSHBcryptKdfOptions.decode(Uint8List data) {
  final reader = SSHMessageReader(data);
  final salt = reader.readString();
  final rounds = reader.readUint32();
  return OpenSSHBcryptKdfOptions(salt, rounds);
}