wiki:computronics:cipher_block
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | wiki:computronics:cipher_block [2015/06/25 15:59] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Cipher Block ====== | ||
+ | The Cipher Block lets you encrypt and decrypt messages using an innovative < | ||
+ | |||
+ | ===== Recipe ===== | ||
+ | |||
+ | **NOTE:** The stone bricks can be any type of stone bricks. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== Usage (Computer API) ===== | ||
+ | |||
+ | ==== Setting the key ==== | ||
+ | |||
+ | The key is derived from the six item stacks in the Cipher Block' | ||
+ | |||
+ | ==== ComputerCraft/ | ||
+ | |||
+ | ^ Command ^ Description ^ Usage ^ | ||
+ | | encrypt(plaintext) | Encrypts a plaintext message. | Returns a base64-encoded, | ||
+ | | decrypt(encrypted_message) | Decrypts a base64-encoded, | ||
+ | |||
+ | ==== NedoComputers ==== | ||
+ | |||
+ | ^ Address ^ Read ^ Write ^ | ||
+ | | 0x00, 0x02 ... 0x1E | 32 bytes (16 words) of memory. | 32 bytes (16 words) of memory. | | ||
+ | | 0x20 | 1 on error, 0 on success | 1 - encrypt the 32 bytes of memory, 2 - decrypt the 32 bytes of memory | | ||
+ | |||
+ | ===== Usage (RedLogic/ | ||
+ | |||
+ | Send a bundled cable signal on the side marked in red - the encrypted data will come out on the side marked in blue. To decrypt, repeat the same process - send the encrypted data on the side marked in red, get the decrypted data on the side marked in blue. |
wiki/computronics/cipher_block.txt · Last modified: 2015/06/25 15:59 by 127.0.0.1