MD5
Category: Hashing
Status: Registered and callable in the CyberChef 11.3.0 compatibility inventory.
Input / output: ArrayBuffer → string
Background: https://wikipedia.org/wiki/MD5
What it does
MD5 (Message-Digest 5) is a widely used hash function. It has been used in a variety of security applications and is also commonly used to check the integrity of files. However, MD5 is not collision resistant and it isn’t suitable for applications like SSL/TLS certificates or digital signatures that rely on this property.
Note
Status here means the operation name is implemented and callable. It does not by itself promise byte-for-byte parity for every upstream option. See Compatibility and current status for the verified scope and known boundaries.
Arguments and options
This operation takes no positional recipe arguments.
Working recipe example
from pychef import bake
input_value = b"hello"
args = []
result = bake(input_value, ['MD5'])
print(result)
Expected representation: 5d41402abc4b2a76b9719d911017c592.
Pipeline example
from pychef import Pipeline
args = []
transform = Pipeline().then('MD5')
result = transform(b"hello")
Dedicated operation module
The registered entry point lives in
pychef.operations.by_operation.md5. Direct calls
receive the input value and a positional argument tuple:
from pychef.operations.by_operation.md5 import run
result = run(b"hello", tuple([]))
- pychef.operations.by_operation.md5.run(value, args)
Run this operation using its shared internal implementation.
- Parameters:
value (str | bytes)
args (Sequence[Any])
- Return type:
str | bytes