1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub const OP_GENERATE_KEY_PAIR: &str = "GenerateKeyPair";
pub const OP_SIGN: &str = "Sign";
pub const OP_VERIFY: &str = "Verify";
pub const OP_ETHER_VERIFY: &str = "Ether_Verify";
pub const OP_SHA256: &str = "Sha";
pub const OP_SHAMIR_SHARE: &str = "ShamirShare";
pub const OP_SHAMIR_RECOVERY: &str = "ShamirRecovery";
pub const OP_GENERATE_MULTI_SIG_ASSET: &str = "GenerateMultiSigAsset";
pub const OP_COMBINE_TO_WITNESS: &str = "CombineToWitness";
pub const OP_GENERATE_AES_KEY: &str = "GenerateAesKey";
pub const OP_AES_ENCRYPT: &str = "AesEncrypt";
pub const OP_AES_DECRYPT: &str = "AesDecrypt";
pub const OP_GENERATE_RSA_PKCS1: &str = "GenerateRsaPkcs1";
pub const OP_RSA_DECRYPT: &str = "RsaDecrypt";
pub const OP_RSA_ENCRYPT: &str = "RsaEncrypt";
pub const OP_PUB_FROM_PRI_KEY: &str = "PubFromPrivateKey";

pub const KEY_TYPE_BITCOIN_MAINNET: &str = "bitcoin_mainnet";
pub const KEY_TYPE_BITCOIN_TESTNET: &str = "bitcoin_testnet";
pub const KEY_TYPE_ED25519: &str = "ed25519";