LinkUtils
Summary
public static byte[] AbiEncode(object value, string typeName)
public static TResultType AbiDecode< TResultType >(byte[] bytes, string typeName, TResultType result)
Helper to ABI decode data.
public static byte[] SealMessage(string message, string privateKey, string publicKey)
Encrypt a message using AES and shared secret derived from given keys.
public static string NormalizePublicKey(string key)
Ensure public key is in new PUB_ format.
public static bool PublicKeyEqual(string keyA, string keyB)
Return true if given public keys are equal.
public static string GeneratePrivateKey()
Generate a random private key. Uses browser crypto if available, otherwise falls back to slow eosjs-ecc.
Members
public static byte[] AbiEncode(object value, string typeName)
public static TResultType AbiDecode< TResultType >(byte[] bytes, string typeName, TResultType result)
Helper to ABI decode data.
public static byte[] SealMessage(string message, string privateKey, string publicKey)
Encrypt a message using AES and shared secret derived from given keys.
public static string NormalizePublicKey(string key)
Ensure public key is in new PUB_ format.
public static bool PublicKeyEqual(string keyA, string keyB)
Return true if given public keys are equal.
public static string GeneratePrivateKey()
Generate a random private key. Uses browser crypto if available, otherwise falls back to slow eosjs-ecc.
Last updated