Results 1 to 2 of 2

Thread: BASH Substitution Cipher

  1. #1
    Join Date
    Nov 2007
    Location
    UK
    Beans
    186
    Distro
    Lubuntu 13.04 Raring Ringtail

    BASH Substitution Cipher

    Hi,

    I've written a small bash script to implement basic encryption, utilizing sed to read a file and substitute plain text letters for substitution symbols (~¬|_#@ etc.), for ASCII files I have in my home directory. How could I ascertain how secure this is?

    I'm aware that Ubuntu supports GPG and ENCFS, and that those are better tools for encryption (I, in fact, use both of these on my system, as well as accessing the Web through a VPN) but I was just playing around with Bash and wondered if this basic type of encryption is is any way useful?


    Regards,

    Flux

  2. #2
    Join Date
    Apr 2012
    Beans
    5,431

    Re: BASH Substitution Cipher

    Well it's not really my field, but any monoalphabetic substitution cipher is insecure against frequency analysis if the plaintext is in just about any known natural language

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •