Last active
August 29, 2015 14:10
-
-
Save vck/6339ff4c2b7bf08a3233 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
citor module | |
algorithm_a weed more improvement | |
string list suffling ability | |
''' | |
import random as ran | |
random_data = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o', | |
'p','q','r','s','t','u','v','w','x','y','z', | |
'1'] | |
for a in range(1000): | |
ran.shuffle(random_data) | |
# 1st algorithm | |
def algorithm_a(a): | |
pan_bit = len(a) | |
return a[pan_bit-1] + random_data[3] + random_data[3-pan_bit] + random_data[pan_bit + pan_bit] |
8.29 PM,Nov 22 14
more improvements on string shuffling ability added
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
an encryption method to protect the plain text
i called this algorithm as algorithm_a
algorithm_b will be developed soon as well