Questions tagged [scramble]

a way to encode information to make the information unintelligible.

119 questions
0
votes
2 answers

text gets scrambled when inserted through .html() jquery method

In a web page I'm doing there's a table where by clicking on each row you can modify it. This is done by substituting the content of each cell with an input field containing the relative value. In order to let the user cancel the changes made I save…
Orgrim
  • 357
  • 1
  • 5
  • 13
0
votes
2 answers

In python how can I scramble a files name and content and why did my attempt produce weird results?

I am trying to make a script that can scramble a folders files and the files content on a windows machine. This was my first attempt at trying to scramble file names in a folder. I know performance wise its probably terrible and it looks pathetic…
harry
  • 101
  • 3
  • 11
-1
votes
1 answer

How do I fade in text in a div, while simultaneously descrambling the text in JavaScript

How do I perform an animated transformation on text while performing a fade in effect during the animated transformation? // —————————————————————————————————————————————————— // TextScramble //…
Vahe
  • 1,699
  • 3
  • 25
  • 76
-1
votes
3 answers

Chars scrambling (C# and Javascript)

I need to scramble chars in word. And this scrambling must not be random. In other words, each time of scrambling (on the same word) the new result must be equal to last scramble result (on the same word). Very simple example is XOR. But XOR is very…
Edward83
  • 6,664
  • 14
  • 74
  • 102
-1
votes
1 answer

I need help writing a small program to randomly draw entries from a list

I need help writing a code which randomly selects an adjustable amount of entries from a list and displays them for me. Preferably, I should be able to adjust the entries in the list aswell. So say I have a list with the numbers A through G, and I…
-1
votes
1 answer

Word unscrambling using python

The following code scrambles the text randomly using step size, i want to write a function to unscramble and get the original string how to do it. def scramble(plain): cipher = "" step = 7 for x in range(0, step): for y in…
harsha
  • 17
  • 5
-1
votes
3 answers

Strange characters in array

When do test of scramble() method it actually returns something like this: public class Scramble_game { public static void main(String[] args) { System.out.println("START"); Word name = new Word("iskander"); …
-1
votes
2 answers

Creating a word scrambler but it won't work, need help as a beginner

Beginner python coder here, keep things simple, please. So, I need this code below to scramble two letters without scrambling the first or last letters. Everything seems to work right up until the scrambler() function. from random import…
-1
votes
2 answers

Shuffle the elements from database after clicking on a button

The code I have done below was that it only shuffle the elements every once I refresh the page. For example: ' I play to play the piano'. I want it to be ' I play to play the piano', only when I click on the 'scramble' button it will then shuffle…
-1
votes
2 answers

Decrypting Scrambled Alphabet?

This is my assignment: Write a program which DECRYPTS a secret message. It should first prompt the user for the scrambled alphabet. It then should ask for the secret message. Finally, it outputs the unscrambled version. Note that there are exactly…
user2680935
  • 29
  • 2
  • 10
-2
votes
2 answers

Data functions in unix

I want to scramble 2nd and 4th column of the data. [1234567890] -> [8728125870] Input: First_name,id,second_name,phone_number ram,232,prakash,96 hari,123,pallavi,98 anurag,456,aakash,13 Output Expected: First_name,id,second_name,phone_number …
vinay24
  • 3
  • 3
-2
votes
1 answer

How To Scramble Image in Java

I found this source code from http://zetcode.com/tutorials/javagamestutorial/puzzle/ And I wanted to play around with it. It's a picture puzzle game, however when I run the program, it doesn't show up scrambled and I was wondering how will I go…
James
  • 11
  • 5
-2
votes
1 answer

How to scramble a String

I'm trying to make an Anagram puzzle where I input a word (for example, fire) and it scrambles it randomly around for me (and it ends up like "rfie", "frei", etc...) Below is the basics of what I'm trying to do. All I need to know is how to scramble…
-2
votes
2 answers

Python - scramble a sentence

I am trying to create a program that scrambles a word as well as a sentence. I have the code for scrambling a word, but I don't know what to do in order to scramble a sentence. Any ideas? Thanks in advance!! import random def main(): word =…
user3495872
  • 101
  • 1
  • 2
  • 5
1 2 3 4 5 6 7
8