1
0
mirror of https://github.com/bitwarden/server synced 2026-01-20 09:23:28 +00:00

Add xchacha20poly1305 enc type (#5470)

This commit is contained in:
Bernd Schoolmann
2025-04-08 12:33:44 +02:00
committed by GitHub
parent 8beefbb417
commit f732db4d2d
2 changed files with 5 additions and 0 deletions

View File

@@ -4,9 +4,13 @@
// EncryptedStringAttribute
public enum EncryptionType : byte
{
// symmetric
AesCbc256_B64 = 0,
AesCbc128_HmacSha256_B64 = 1,
AesCbc256_HmacSha256_B64 = 2,
XChaCha20Poly1305_B64 = 7,
// asymmetric
Rsa2048_OaepSha256_B64 = 3,
Rsa2048_OaepSha1_B64 = 4,
Rsa2048_OaepSha256_HmacSha256_B64 = 5,