forked from algorithm-visualizer/algorithm-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesc.json
More file actions
17 lines (17 loc) · 756 Bytes
/
Copy pathdesc.json
File metadata and controls
17 lines (17 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"Affine Cipher": "The affine cipher is a type of monoalphabetic substitution cipher, wherein each letter in an alphabet is mapped to its numeric equivalent, encrypted using a simple mathematical function, and converted back to a letter.",
"Applications": [
"Cryptanalysis",
"More complex Variations of Affine Cipher are used in practical cryptography"
],
"Complexity": {
"time": "worst $O(N)$, $N$ = length of plain/cipher text",
"space": "worst $O(N)$, to create the new mapping (plain->cipher, cipher->plain)"
},
"References": [
"<a href='http://practicalcryptography.com/ciphers/affine-cipher/'>Practicalcryptography</a>"
],
"files": {
"basic": "Encrypting and Decrypting a string using affine functions"
}
}