mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-22 10:26:31 +00:00
removed poly1305
This commit is contained in:
parent
dd43b73e40
commit
1edd4087ff
@ -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,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user