a way to encode information to make the information unintelligible.
Questions tagged [scramble]
106 questions
218
votes
8 answers
Best way to use PHP to encrypt and decrypt passwords?
Possible Duplicate:
PHP 2-way encryption: I need to store passwords that can be retrieved
I plan to store foreign account information for my users on my website, aka rapidshare username and passwords, etc... I want to keep information secure, but…
jiexi
- 2,959
- 7
- 23
- 27
18
votes
4 answers
garble function contest
Remember that away message on aim that said how:
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The…
qwertymk
- 30,576
- 24
- 107
- 179
13
votes
4 answers
Are there any ways to scramble strings in python?
I'm writing a program and I need to scramble the letters of strings from a list in python. For instance I have a list of strings like:
l = ['foo', 'biology', 'sequence']
And I want something like this:
l = ['ofo', 'lbyoogil', 'qceeenus']
What is…
Geparada
- 2,499
- 6
- 24
- 39
12
votes
12 answers
Obfuscate / Mask / Scramble personal information
I'm looking for a homegrown way to scramble production data for use in development and test. I've built a couple of scripts that make random social security numbers, shift birth dates, scramble emails, etc. But I've come up against a wall trying…
Computer Chip
- 173
- 1
- 3
- 8
9
votes
3 answers
How can I use TDD to solve a puzzle with an unknown answer?
Recently I wrote a Ruby program to determine solutions to a "Scramble Squares" tile puzzle:
I used TDD to implement most of it, leading to tests that looked like this:
it "has top, bottom, left, right" do
c = Cards.new
card = c.cards[0]
…
matthewsteele
- 1,617
- 1
- 12
- 24
5
votes
4 answers
Bash- scramble characters contained in a string
So I have this function with the following output:
AGsg4SKKs74s62#
I need to find a way to scramble the characters without deleting anything..aka all characters must be present after I scramble them.
I can only bash utilities including awk and…
Bruce Strafford
- 133
- 4
- 14
5
votes
1 answer
How to I encode a number so that small changes result in very different encodings?
I'm working in C#. I have an unsigned 32-bit integer i that is incremented gradually in response to an outside user controlled event. The number is displayed in hexadecimal as a unique ID for the user to be able to enter and look up later. I need…
hatch22
- 735
- 5
- 14
4
votes
3 answers
Scramble a floating point number?
I need a repeatable pseudo-random function from floats in [0,1] to floats in [0,1]. I.e. given a 32-bit IEEE float, return a "different" one (as random as possible, given the 24 bits of mantissa). It has to be repeatable, so keeping tons of…
GaryO
- 4,872
- 1
- 24
- 40
4
votes
3 answers
Unscramble Letters in Java - Get all possible combinations of the letters
Solved: What I was asking was Solved but feel free to answer with alternate methods.
here's the letter unscrambler made with the answer. Project Page
I am currently an AP Computer Science student. I have been working on a letter unscrambler that…
atbetts
- 43
- 1
- 5
4
votes
7 answers
Scramble a column in SQL Server?
We have a web app we'd like to demo to prospects, but our best way of doing so is with existing data, for a full experience. Certainly, we don't want to do this with actual customer names or addresses, etc visible in the app. Is there an easy way…
larryq
- 13,813
- 35
- 107
- 181
4
votes
10 answers
Code Golf - Word Scrambler
Please answer with the shortest possible source code for a program that converts an arbitrary plaintext to its corresponding ciphertext, following the sample input and output I have given below. Bonus points* for the least CPU time or the least…
Will Bickford
- 5,262
- 2
- 26
- 45
3
votes
2 answers
DVB-CSA-1 vs DVB-CSA-2
I need some help from mpeg2-ts DVB and broadcasting experts. Can someone tell me what is the difference between those algorithms in common.
Ilay
- 212
- 3
- 11
3
votes
4 answers
Scrambling of letters within a text file
I am preparing a test data which must have different letters say அ-20 times
ம-30 times , த-40 times .....( They are UTF-8 coding supported Tamil Languague letters )
this could be achieved using a print statement
{print ( ' ம் ' * 30 ) + ( ' த ' *…
sibi kanagaraj
- 77
- 7
3
votes
3 answers
How to make a Java File Reader
I'm trying to make a word scrambler for a project in class. It needs to read in a .txt file and output a String with all of the words in the file; but scrambled. for example:
This is how the words should be scrambled.
Ignoring punctuation and…
user2471416
- 31
- 1
- 4
3
votes
2 answers
Storing scrambled Social Security numbers
I need to store a social security number in the unique scrambled state...
The reason: I would require social numbers, but I do not want to store them open in case if database gets compromised.
I want to convert Social Security number into string of…
Andrew
- 7,095
- 13
- 55
- 109