CryptosignAuthentication.fromHex constructor
CryptosignAuthentication.fromHex(
- String? hexPrivateKey
This method takes a given hexPrivateKey
to make crypto sign
possible. This key needs to generated to be used with the ed25519 algorithm
Implementation
factory CryptosignAuthentication.fromHex(String? hexPrivateKey) {
return CryptosignAuthentication(
SigningKey.fromSeed(hexToBin(hexPrivateKey)), null);
}