From c15626cd9bfa5b1f6855e2dd3398901067439917 Mon Sep 17 00:00:00 2001 From: Damian Dennis Date: Thu, 16 Mar 2017 04:59:27 +1000 Subject: [PATCH] fix for decryption of string where parameter is string. --- sjcl/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sjcl/index.d.ts b/sjcl/index.d.ts index 0192faa6b4..ea906defef 100644 --- a/sjcl/index.d.ts +++ b/sjcl/index.d.ts @@ -525,6 +525,7 @@ declare namespace sjcl { interface SjclConveninceDecryptor { (password: string, ciphertext: SjclCipherEncrypted, params?: SjclCipherDecryptParams, rp?: SjclCipherDecrypted): string; + (password: string, ciphertext: string, params?: SjclCipherDecryptParams, rp?: SjclCipherDecrypted): string; (password: BitArray, ciphertext: SjclCipherEncrypted, params?: SjclCipherDecryptParams, rp?: SjclCipherDecrypted): string; (password: SjclElGamalSecretKey, ciphertext: SjclCipherEncrypted, params?: SjclCipherDecryptParams, rp?: SjclCipherDecrypted): string; }