فك التشفير باستخدام Ascon

يقوم بفك تشفير الإدخال باستخدام “Ascon”.

المدخلات: نصالنتيجة: نص

إدخال نصي

شغّل الأداة لعرض النتيجة

أمثلة

Example keys and passwords are public test material.

authentication failure (tampered ciphertext)

المدخلات

bf14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected rejection

Message contains
Unable to decrypt: authentication failed. The ciphertext, key, nonce, or associated data may be incorrect or tampered with.
المفتاح
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"Hex","string":""}
إدخال
Hex
إخراج
Raw
authentication failure (wrong associated data)

المدخلات

351880c09f9dee12c20c4ba973066bc10dd26000b6

Expected rejection

Message contains
Unable to decrypt: authentication failed. The ciphertext, key, nonce, or associated data may be incorrect or tampered with.
المفتاح
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"UTF8","string":"wrong data"}
إدخال
Hex
إخراج
Raw
authentication failure (wrong key)

المدخلات

af14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected rejection

Message contains
Unable to decrypt: authentication failed. The ciphertext, key, nonce, or associated data may be incorrect or tampered with.
المفتاح
{"option":"Hex","string":"ff0102030405060708090a0b0c0d0e0f"}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"Hex","string":""}
إدخال
Hex
إخراج
Raw
basic decryption

المدخلات

af14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected answer

Hello
المفتاح
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"Hex","string":""}
إدخال
Hex
إخراج
Raw
longer message

المدخلات

9314a3fef6cc299a07b8c9e0f9e479ca0d1187e87345cf590adc572b

Expected answer

test message
المفتاح
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"Hex","string":""}
إدخال
Hex
إخراج
Raw
no key

المدخلات

af14bce6b9b6588c3aa63f9ddc5a0cf5f565f358b0

Expected rejection

Message contains
Invalid key length: 0 bytes.

Ascon-AEAD128 requires a key of exactly 16 bytes (128 bits).
المفتاح
{"option":"Hex","string":""}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"Hex","string":""}
إدخال
Hex
إخراج
Raw
with associated data

المدخلات

351880c09f9dee12c20c4ba973066bc10dd26000b6

Expected answer

Hello
المفتاح
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
رقم عشوائي
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
البيانات المرتبطة
{"option":"UTF8","string":"metadata"}
إدخال
Hex
إخراج
Raw

أدوات ذات صلة

التشفير / الترميز

مرجع العملية

عرض الوثائق التقنية الأصلية (English)