CryptosignAuthentication.fromBase64 constructor

CryptosignAuthentication.fromBase64(
  1. String base64PrivateKey
)

This method takes a given base64PrivateKey to make crypto sign possible. This key needs to generated to be used with the ed25519 algorithm

Implementation

factory CryptosignAuthentication.fromBase64(String base64PrivateKey) {
  return CryptosignAuthentication(
      SigningKey.fromSeed(base64.decode(base64PrivateKey)), null);
}