Score:0

Designing your own Algorithm

in flag

I have been told to design my own algorithm as a college assignment. What I could have come up with was a random cipher. For example:

Suppose my plaintext is: AND

So I'll take an array the size of my plaintext and keep on storing random values between 0 to 9.

I will use random values and my array becomes {3,5,1}

My encrypted text becomes DSE

I have used a random function for generating random values.

Is this encryption algorithm good enough? Moreover, how can someone break it? Is it vulnerable in any way? If someone else can guide me in making a good original encryption algorithm, that would be great.

poncho avatar
my flag
"I have been told to design my own Algorithm as my college assignment" - you've been asked to create a homebrew encryption algorithm (or did they just say 'algorithm', and you decided to do encryption, rather than, say, sorting). I can't see what you'd be expected to learn from creating a homebrew encryption algorithm, unless the next step would be to find ways to break it...
Paul Uszak avatar
cn flag
@poncho Is this how we welcome new entrants into cryptography? I'm upvoting.
poncho avatar
my flag
@PaulUszak: if someone wants to learn about cryptography, designing your own cipher is not the right way to do it.
poncho avatar
my flag
@PaulUszak: in any case, my amazement was him being assigned that in college, more than a criticism of anything he did...
cn flag
This seems to be really, really bad - from the college course, requesting such an assignment. If someone comes up with $AES(x) \oplus 0...01$, how would they break it afterwards? If the assignment was this unspecific, this might be awful to the students with the right intuition of cryptography.
HITESH SURYAWANSHI avatar
in flag
@poncho: completely agree with you... I find it completely pointless of my college course to ask such thing in first place considering that we are new to cryptography... Just my learning some basic encryption algorithms, we don't become able enough to design our own... There's still a lot for me to learn from existing techniques
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.