internal: incomplete vault systems behind feature flag (#2340)
This commit is contained in:
@@ -139,7 +139,6 @@ export interface PureCryptoInterface {
|
||||
senderSecretKey: HexString,
|
||||
recipientPublicKey: HexString,
|
||||
): Base64String
|
||||
|
||||
sodiumCryptoBoxEasyDecrypt(
|
||||
ciphertext: Base64String,
|
||||
nonce: HexString,
|
||||
@@ -147,7 +146,15 @@ export interface PureCryptoInterface {
|
||||
recipientSecretKey: HexString,
|
||||
): Utf8String
|
||||
|
||||
sodiumCryptoBoxGenerateKeypair(): PkcKeyPair
|
||||
sodiumCryptoBoxSeedKeypair(seed: HexString): PkcKeyPair
|
||||
sodiumCryptoSignSeedKeypair(seed: HexString): PkcKeyPair
|
||||
|
||||
sodiumCryptoSign(message: Utf8String, secretKey: HexString): Base64String
|
||||
sodiumCryptoSignVerify(message: Utf8String, signature: Base64String, publicKey: HexString): boolean
|
||||
|
||||
sodiumCryptoKdfDeriveFromKey(key: HexString, subkeyNumber: number, subkeyLength: number, context: string): HexString
|
||||
|
||||
sodiumCryptoGenericHash(message: Utf8String, key?: HexString): HexString
|
||||
|
||||
/**
|
||||
* Converts a plain string into base64
|
||||
|
||||
Reference in New Issue
Block a user