From 60ccacdbf4d8164946fecb779a79396af3b0c195 Mon Sep 17 00:00:00 2001 From: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com> Date: Fri, 19 Jan 2024 23:47:45 +0300 Subject: [PATCH] Add record Without styling.. Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com> --- doc/commands.json | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/doc/commands.json b/doc/commands.json index 70a8f7036..8f45c52e2 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -273,6 +273,27 @@ ], "usage": "data clear [-h]" }, + "data crypto": { + "command": "data crypto", + "description": "Encrypt and decrypt data", + "notes": [ + "Supply data, key, IV (needed for des MAC or aes), and cryptography action.", + "To calculate a MAC for FMCOS, supply challenge as IV, data as data, and session/line protection key as key.", + "To calculate a MAC for FeliCa, supply first RC as IV, BLE+data as data and session key as key.", + "data crypto -d 04D6850E06AABB80 -k FFFFFFFFFFFFFFFF --iv 9EA0401A00000000 --des -> Calculate a MAC for FMCOS chip. The result should be ED3A0133" + ], + "offline": true, + "options": [ + "-h, --help This help", + "-d, --data Data to process", + "-k, --key Key to use", + "-r, --rev Decrypt, not encrypt", + "--des Cipher with DES, not AES", + "--mac Calculate AES CMAC/FeliCa Lite MAC", + "--iv IV value if needed" + ], + "usage": "data crypto [-hr] -d -k [--des] [--mac] [--iv ]" + }, "data convertbitstream": { "command": "data convertbitstream", "description": "Convert GraphBuffer's 0|1 values to 127|-127", @@ -12309,4 +12330,4 @@ "extracted_by": "PM3Help2JSON v1.00", "extracted_on": "2024-01-18T18:49:32" } -} \ No newline at end of file +}