Linux Command Line Encryption

From: <twebster_at_daksoft.com>
Date: Fri, 22 Oct 2004 16:30:36 -0600

openssl encryption and decryption,

encrypt
      openssl enc <cipher> -e -in filename.txt -out filename.enc
      openssl enc -aes-256-cfb -e -in filename.txt -out filename.enc

decrypt
      openssl enc <cipher> -d -in filename.enc -out filename.txt
      openssl enc -aes-256-cfb -d -in filename.enc -out filename.txt

later,
tony

full-disclosure-admin_at_lists. netsys.com wrote on 10/22/2004 02:47:48 PM:

> Hi,
>
> What's the syntax to decrypt using this?
>
> Regards,
> Joe
>
>
>
>
>
> ----- Original Message -----
> From: "Mike Tancsa" <mike_at_sentex. net>
> To: "Ali Campbell" <fdisclosure_at_alicampbell. org.uk>;
> <full-disclosure_at_lists. netsys.com>
> Sent: Friday, October 22, 2004 1:46 PM
> Subject: Re: [Full-disclosure] Q: Linux Command Line Encryption
>
>
> At 01:48 PM 22/10/2004, Ali Campbell wrote:
> >I need a Linux utility which I can use to encrypt a single gzipped file
> >via the command line. Obviously something open source would be
preferable.
> >I'm not really interested in setting up a whole suite of stuff with
> >keyfiles and so on, and I don't need a public/private key setup, just
> >something quick and dirty with a single secret key for encryption and
> >decryption which is nevertheless reasonably strong.
>
> Whats wrong with openssl ?
>
> openssl des3 -in test.txt -out test.txt.enc
>
> or
>
> openssl aes-256-cbc -in test.txt -out test.txt.enc
>
> This is only as strong as your passphrase. Using something like GPG has
> other advantages since the private key can be kept in a separate location
> from the encrypted file.
>
>
> ---Mike
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.netsys.com/full-disclosure-charter.html
>
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.netsys.com/full-disclosure-charter.html

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
Received on Oct 22 2004

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值