Skip to content

Instantly share code, notes, and snippets.

@vck
Last active August 29, 2015 14:10
Show Gist options
  • Save vck/6339ff4c2b7bf08a3233 to your computer and use it in GitHub Desktop.
Save vck/6339ff4c2b7bf08a3233 to your computer and use it in GitHub Desktop.
'''
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]
@vck
Copy link
Author

vck commented Nov 23, 2014

an encryption method to protect the plain text
i called this algorithm as algorithm_a
algorithm_b will be developed soon as well

@vck
Copy link
Author

vck commented Nov 23, 2014

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