Strobe class

Strobe is a cryptographic framework for building secure, stateful, and authenticated cryptographic protocols. Strobe-128/1600 and Strobe-256/1600 for standards compliance.

Constructors

Strobe(String customizationString, StrobeSecParam security)
Create a new instance of the Strobe protocol with the specified parameters.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
rate int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strober int
final

Methods

additionalData(bool meta, List<int> additionalData) → void
Process and add additional data to the Strobe protocol state.
clone() Strobe
key(List<int> key) → void
Set a key for the Strobe protocol.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operate(bool meta, StrobeOperation operation, List<int> dataConst, int length, bool more) List<int>
STROBE main duplexing mode.
pseudoRandomData(int outputLen) List<int>
Generate pseudo-random data using the PRF operation in Strobe.
ratchet(int length) → void
Ratchet the Strobe protocol state to enhance security.
receivedClearText(bool meta, List<int> cleartext) → void
Process received clear text within the Strobe protocol.
receivedMac(bool meta, List<int> mac) bool
Verify and process a received MAC in the Strobe protocol.
recvUnauthenticatedEncryptMessage(bool meta, List<int> ciphertext) List<int>
Receive and process an unauthenticated encrypted message in Strobe.
sendClearText(bool meta, List<int> cleartext) → void
Process and send clear text data within the Strobe protocol.
sendMac(bool meta, int outputLength) List<int>
Generate and append a Message Authentication Code (MAC) to data in the Strobe protocol.
sendUnauthenticatedEncryptedMessage(bool meta, List<int> plaintext) List<int>
Encrypt and send data without authentication in Strobe.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

version → const String