From bd352d5db8bbbbbaca743a831b81658137b9f429 Mon Sep 17 00:00:00 2001 From: Bee <10378052+bee-san@users.noreply.github.com> Date: Thu, 10 Sep 2020 12:17:37 +0100 Subject: [PATCH] Updated Adding your own ciphers (markdown) --- Adding-your-own-ciphers.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Adding-your-own-ciphers.md b/Adding-your-own-ciphers.md index 456d271..4504bde 100644 --- a/Adding-your-own-ciphers.md +++ b/Adding-your-own-ciphers.md @@ -301,7 +301,3 @@ class Caesar(ciphey.iface.Cracker[str]): ``` If you need help with this, create a GitHub issue or contact us on Discord at discord.ciphey.online. - -# What your function returns -* If your function has a chance of failing, in that failing case it should return `None`. -* If your function works on every single text (I.E. the function you are using (from an external library maybe) never fails to return) you should see to see if the input string is different from the resulting string. If they are, return the resulting string else return None. This is because your function would return True for every single input which would result in a mess in the Ciphey logs.