From 9bb9b39a6d128aa2c30a26622cc3744ec96a5423 Mon Sep 17 00:00:00 2001 From: Aizistral Date: Wed, 5 Oct 2022 16:29:14 +0200 Subject: Make encryption algorithms localizable Closes #207 --- src/main/resources/assets/nochatreports/lang/en_us.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/resources') diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 941074e..2ac30fc 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -36,9 +36,13 @@ "gui.nochatreports.encryption_config.algorithm": "Algorithm: %1$s", "gui.nochatreports.encryption_config.default_key": "", "gui.nochatreports.encryption_config.encrypt_public": "Encrypt public messages", + "algorithm.nochatreports.aes_cfb8_base64.name": "AES/CFB8+Base", "algorithm.nochatreports.aes_cfb8_base64": "§lAES/CFB8+Base64§r\nStandard symmetric encryption algorithm. Uses 128 bit keys, output is Base64-encoded to permit transfer via Minecraft's chat. As a downside - messages will gain roughly 30% increase in length, and server might truncate them if they exceed size limit.", + "algorithm.nochatreports.aes_gcm_base64.name": "AES/GCM+Base64", "algorithm.nochatreports.aes_gcm_base64": "§lAES/GCM+Base64§r\nMore security in exchange for severe increase in message size (12 bytes for initialization vector and 12 for authentication tag, Base64 encoding on top). Choose if you value security over anything else.", + "algorithm.nochatreports.aes_ecb_base64.name": "AES/ECB+Base64", "algorithm.nochatreports.aes_ecb_base64": "§lAES/ECB+Base64§r\nConsiderably less secure than CFB mode, but saves you some bytes by not requiring initialization vector. Still beats Caesar.", + "algorithm.nochatreports.caesar.name": "Caesar", "algorithm.nochatreports.caesar": "§lCaesar§r\nMeme cipher. With this you're basically hoping that people will give up without even trying to decrypt your messages. That might be true in many cases, so viability of using it depends on your threat model.\nKey should be integer from 1 to 1024. Shift is done by character code instead of alphabetically, to ensure compatibility with any language.", "nochatreports.connect.nokey_rejected": "Server rejected connection without chat signing key.", "nochatreports.connect.await": "Awaiting reconnection: %1$s seconds...", -- cgit v1.2.3