SPECK128/128 Encryption & Decryption

Encrypt or decrypt raw SPECK128/128 blocks using little-endian words.



How to use

Load the example to see the byte layout. The two 64-bit words in each block are serialized little-endian, so compare the byte order before comparing Hex output with a reference vector.

FAQ

Where are the raw SPECK blocks processed?

Whole 16-byte blocks are read and transformed on your device with the supplied key. If the input ends with a partial block, the browser rejects it locally.

What is supported?

Use a 16-byte Hex key and input made up of whole 16-byte blocks. The tool applies no padding or chaining. Files are limited to 8 MiB.

Other Languages

SPECK128/128 Encryption & Decryption — Base64.sh

SPECK128/128 Encryption & Decryption

Encrypt or decrypt raw SPECK128/128 blocks using little-endian words.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Check the SPECK128/128 example with explicit little-endian word serialization, its inverse, and incomplete-block rejection.
Comparison reference
NSA SIMON/SPECK SPECK128/128 vector: ciphertext words a65d985179783265 7860fedf5c570d18; fixed vector and local inverse.
Verification scope
Covers a little-endian SPECK128/128 vector, the local inverse and incomplete-block rejection.
Test source and cases (select a file to read it)
  • completion-tools.test.js
    • speck-cipher: NSA SPECK128128 vector with little endian serialization
    • Secret fields start empty and fixed vectors are confined to the explicit example action

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.