this post was submitted on 10 Oct 2023
4 points (100.0% liked)

Encryption

181 readers
1 users here now

In cryptography, encryption is the process of encoding information. This process converts the original representation of the information, known as plaintext, into an alternative form known as ciphertext. Ideally, only authorized parties can decipher a ciphertext back to plaintext and access the original information.

Rules

  1. Don't do unto others what you don't want done unto you.
  2. No Porn, Gore, or NSFW content. Instant Ban.
  3. No Spamming, Trolling or Unsolicited Ads. Instant Ban.
  4. Stay on topic in a community. Please reach out to an admin to create a new community.

founded 2 years ago
MODERATORS
 

Like, could you just invert all the bits in a block of data and turn it into nonsense?

Or shift/rotate bits, so 10000101 would become 00001011, rather than using an encryption function.

It would be easy to break if you just figured out which bit operations were made, but it's a wierd thing to do so.. would it be obvious at all that it was such a simple encryption method from the raw data?

Just had that thought, it sounds like a 'security through obscurity' measure.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

Yes old encryption methods worked in a similar way, for example ROT13. The security of these methods ultimately relies on keeping the encryption process a secret, i.e. security through obscurity. These days we know that's not good.

Modern encryption methods are publicly known and thus do not have that vulnerability. The security of modern encryption algorithms rely on keeping some sort of key a secret instead of the actual encryption process.

[–] [email protected] 2 points 1 year ago

Ahh cool thanks for the info!

[–] [email protected] 4 points 1 year ago (1 children)

That would be a transposition cipher on the level of bits instead of characters, so it should have the same properties https://en.wikipedia.org/wiki/Transposition_cipher?wprov=sfla1

[–] [email protected] 2 points 1 year ago

transposition cipher

Ohh that's what it's called, thanks!