Jump to content

Encryption


Bountyhunter50

Recommended Posts

Ok so as an ongoing personal research , one thing I've REALLY been wanting to get into encryption. I know there are plenty of "free text encryptors", but I want to get into the encryption that doesn't require a key, or any of that jazz, i want to learn the hard way essentially. Anyone shed some light? :)

Link to comment
Share on other sites

All encryption requires a key, it is the key that makes this pass through the data different to someone elses pass through the data.

Isn't there a way to sort of Decrypt without sed Key? If I'm blowing smoke tell me please :) easiest way to explain , think of Bond and M16, they see the encryption, and then BAM it's decrypted sometime later.

Link to comment
Share on other sites

You can guess the keys (brute force/dictionary/hybrid)

you can find a problem in the crypto which allows encryption to be reversed

you can find a problem in the crypto implementation which allows reversal

You been watching Skyfall?

Link to comment
Share on other sites

I'm planning on revisiting an old plugin from back in the day with email (of course I can't remember the name , but it's in Cryogenig Storage Backup) but it was after configuring the backend, write the e-mail, and turn on the plugin for the sed draft and it would do a double-pass encryption (I had it set for two).

Link to comment
Share on other sites

I've been working on writing my own encryption algorithms and if you are just wanting to mess around with it here is a good platform for your algorithm.

(I am used to writing in java so I will try to explain this in words not code).

String key <- This would be the key to encrypt everything with (you can hard code it)

String toEncrypt <- This is the string you are encrypting

break the key into an array of the letters so for example if it was "lamekey" break it down into "l,a,m,e,k,e,y" then convert all the letters to their ASCII values.

repeat that for toEncrypt.

now you should have something like key = "1,2,3,4,5" and toEncrypt = "6,7,8,9,10" now just loop through and add key[x] to the value of toEncrypt[x]

1 + 6 = 7

2 + 7 = 9

3 + 8 = 11

4 + 9 = 13

5 + 10 = 15

Now here are the ASCII values for your new string. "7,9,11,13,15" now just convert each number back into a letter and then put the array back together as a single word.

That is very basic encryption and it is also very weak but it is a place to start.

I hope that made sense I am about to fall asleep right now

Link to comment
Share on other sites

As you point out, it is basic and weak but I'd like to add to that, please people, don't ever try to invent your own encryption to use in anything other than playing with your friends. Regardless of what you think of it there will be problems, use an off the shelf algorithm that has been properly tested.

Link to comment
Share on other sites

As you point out, it is basic and weak but I'd like to add to that, please people, don't ever try to invent your own encryption to use in anything other than playing with your friends. Regardless of what you think of it there will be problems, use an off the shelf algorithm that has been properly tested.

Agreed, also if you are going to use it don't rely on it. Use a better form of encryption on top of it like AES. It never hurts to have multiple layers of encryption.

Link to comment
Share on other sites

There isn't any point putting AES on top of something like this, if someone can crack AES then this will be a minute of a job. Just use a recognised algorithm, a known trusted implementation and a decent key and you'll be fine.

Link to comment
Share on other sites

Also keep in mind that multiple levels of encryption do not always add security, I remember a (very rare) case where adding more encryption weakened the strongest algorithm used and the added encryption was not strong by itself so in total the plain text was easier to figure out ... I can't seem to find that article again though ...

If you want to start in encryption, go for the eldest examples (Caesar cypher) and crack those, once you get to algorithms where frequency analysis cannot crack them things get really though unless you have a strong mathematical background.

If you want to encrypt text an added layer of encryption can be the language itself, a language that is not spoken anymore and that is not linked to one of the known “old” languages can be great (e.g. the native American code speakers) to hide the meaning of a language. It will not help against evil companies like google or anything government related ;-)

Link to comment
Share on other sites

There was a talk about something similar at BSidesLondon this year, the guy was a stand in talk so isn't listed in the official line of speakers but the video should be up.

He was talking about random numbers where people thought they were adding randomness by layering things but were actually reducing it. It isn't normally something I'd be interested in but it was actually a great talk.

Link to comment
Share on other sites

Bingo!

So I have an encrypted .txt file ( basic OS encryption offered in Mac OS X), If I wanted to base a personal judgement (to determine if it sucks royally), is anyone possibly able to recommend how to pretty much crack my own encrypted file?

Link to comment
Share on other sites

hQIMA95OUJ1L93Q5AQ/+Oa9OoGuB48ZrpIfHnqOcgDY65nRPDz4H/iIiuU6M4Lbr

81VLgwioHzxHoEWbdMYOHJLOQmzZP54GQ0dGFGmmWSLm+UBJ9QNQnGmeMjQ8tpHV

l3LxYQRj0cqbF3lexXUU6KWr65iptEa4Nfj247h/M58/O6D9fn2CQJApAcEyrPJK

/b1xChVVsdWwFrGt99HN4M0JDl0qWFwtoMiIKIXBfpNLIzKhAwKa09lDhojzCKk1

RiybbsW4+dB8an7qqhKGyGo2YyztDo/UezXU5cIBo2VZ3AJN5JXQZl+OnkCST+l4

qo2ncIGUPKW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ul1VOlr6E8hMvjX

vRIfdttf+sE9mryLj8RnRueDIx454PSWADViCG5R479PsZEPH8mZzMPt1ijBpBmA

NTlImVnGYtkZTmMmPIC1Y26N/5rGi4MbVp6qHmV15qB6WlpgKyePnmrXx1FYWURk

fyoAqM9TvidbBk4tCv20f3EjLuOPfHb3

=1hm+

B) I learned something today

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...