mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-01-17 15:18:13 +01:00
Update ciphers/monoAlphabeticCipher.php decrypt function
Co-authored-by: Brandon Johnson <bbj1979@gmail.com>
This commit is contained in:
parent
b3fa7c7961
commit
9e10db292e
@ -22,7 +22,8 @@ function maEncrypt($key, $alphabet, $text){
|
|||||||
return cipher($key, $alphabet, $text);
|
return cipher($key, $alphabet, $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
function decrypt($key, $alphabet, $text){
|
function maDecrypt($key, $alphabet, $text){
|
||||||
|
|
||||||
return cipher($alphabet, $key, $text);
|
return cipher($alphabet, $key, $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user