Add validation for ToBinary

This commit is contained in:
GCHQDeveloper581 2026-06-21 17:25:52 +00:00
parent beb44d1838
commit 2aecf901dc
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C

View File

@ -35,7 +35,10 @@ class ToBinary extends Operation {
{
"name": "Byte Length",
"type": "number",
"value": 8
"value": 8,
"min": 1,
"max": 256, // arbitrary - significantly larger than word size for any known machine ("640k ought to be enough for anybody")
"integer": true
}
];
}