removed poly1305

This commit is contained in:
cupcakearmy 2019-04-08 20:30:46 +02:00
parent dd43b73e40
commit 1edd4087ff

View File

@ -16,7 +16,6 @@ import { Base64 } from './Util'
export enum Ciphers { export enum Ciphers {
ChaCha20, ChaCha20,
ChaCha20_Poly1305,
AES_256_GCM, AES_256_GCM,
AES_192_GCM, AES_192_GCM,
AES_128_GCM, AES_128_GCM,
@ -145,13 +144,6 @@ export default class Symmetric {
ivSize: 16, ivSize: 16,
keySize: 32, keySize: 32,
} }
case Ciphers.ChaCha20_Poly1305:
return {
alg: 'chacha20-poly1305',
ivSize: 16,
keySize: 32,
mac: 8,
}
} }
} }
} }