- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Encript Text File
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 11:22 AM
05-09-2002 11:22 AM
Hi All,
I have a txt file < filename.csv > and I want to do:
1- Encript the file
2- Send by FTP to other machine ( This I know )
3- Remove the encript from the file
The solution to encript must be fast and secure.
Tks,
Bassoi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 11:30 AM
05-09-2002 11:30 AM
Re: Encript Text File
Couple of ways to do it
1. uuencode
2. do a tar cvf the fiel to some other file name
3. ftp that file
4. untar it
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 11:38 AM
05-09-2002 11:38 AM
SolutionTake a look at the crypt command for simple encryption/decryption scheme.
man crypt (1) & (3C)
Takes standard input & writes standard output & uses a "password" as a key where password can be as simple as three lower case chars which can be passed to the recipient in a secure fashion or used by yourself after the ftp arrives.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 11:40 AM
05-09-2002 11:40 AM
Re: Encript Text File
# crypt < data > data.secret
Enter key:
# ll data.secret
==> transfer data.secret over
To encrypt .. (on the other side)
# crypt < data.secret > data.txt
Enter key:
# ll data.txt
# cat data.txt
The Enter key part allows you to kindda put in a "password" before you encrypt it and de-crypt it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 11:47 AM
05-09-2002 11:47 AM
Re: Encript Text File
Use the crypt command:
To encrypt simply pipe the STDOUT of
the file to "crypt" and redirect it to
a new file name. Enter a passowrd when
prompted with "Enter key".
$ cat foo | crypt > foo.e
Enter key:
To unencrypt simply pipe the STDOUT of
the encrypted file to "crpyt" and
redirect it to a new file name. Enter
a passowrd when prompted with
"Enter key".
$ cat foo.e | crypt > foo.new
Enter key:
Hope this helps !
Thanks,
Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 12:13 PM
05-09-2002 12:13 PM
Re: Encript Text File
Thanks to All,
Special thanks to Jeff, Chan and Shabu ! You got a 10 !