We currently take files (via FTP) off of a mainframe and save them as a text file on our server. This is done via a script. The next thing that is done to that text file is it gets zipped (using ZIP). This all works fine, but it doesn't appear that ZIP (the free version) has any way to password... (2 Replies)
Hi all,
I have a server in the office that we connect to via telnet. Can anyone explain please how i can encrypt the password so it cannot be picked up in plain text by sniffing software like WireShark, etc.?
I'm not very experienced in Unix, so any ideas or even links would be great.
... (5 Replies)
In unix, i know the password encrypt by using salt
But how does it work? And how windows protect its password?
Thank you for helping in advance (5 Replies)
Hi, I have a Java app that looks for some parameters in a .properties file such as username and password. However I don't want to leave the password in a text file and I can't modify the app...
Does anyone have some idea about how to encrypt/hide/etc the password so it's not freely accessible... (1 Reply)
if I change my password on two different servers, using the same string but the encrypted password in /etc/passwd look different.
If I copy an entry from one /etc/password to the other server. I can still log in to both servers using the same password. Only now both /etc/passwd entries are... (2 Replies)
Hi all,
I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS.
For example: when A wants to send file to B
A will encrypt the file with B's computer MAC/IP address as an encryption key
This file can only be decrypted... (2 Replies)
I am working on a script where we are using sqlplus command to connect to Oracle DB. But the schemaname and password used for sqlplus authentication, have to be hardcoded in the script.
DBconnection=scott/tiger@SID
sqlplus $DBconnection
Here any user who reads the script can read the... (1 Reply)
Discussion started by: max29583
1 Replies
9. Post Here to Contact Site Administrators and Moderators
All,
I have requirement to send password protected excel file in an email from unix/linux box without zipping it. Any help would be appreciated.
Thanks.. (1 Reply)
All,
I have requirement to send password protected excel file in an email from unix/linux box without zipping it. Any help would be appreciated.
Thanks.. (8 Replies)
Discussion started by: Durgesh Gupta
8 Replies
LEARN ABOUT OPENSOLARIS
encrypt
encrypt(3C) Standard C Library Functions encrypt(3C)NAME
encrypt - encoding function
SYNOPSIS
#include <crypt.h>
void encrypt(char block[64], int edflag);
Standard conforming
#include <unistd.h>
void encrypt(char block[64], int edflag);
DESCRIPTION
The encrypt() function provides (rather primitive) access to the hashing algorithm employed by the crypt(3C) function. The key generated by
setkey(3C) is used to encrypt the string block with encrypt().
The block argument to encrypt() is an array of length 64 bytes containing only the bytes with numerical value of 0 and 1. The array is mod-
ified in place to a similar array using the key set by setkey(3C). If edflag is 0, the argument is encoded. If edflag is 1, the argument
may be decoded (see the USAGE section below); if the argument is not decoded, errno will be set to ENOSYS.
RETURN VALUES
The encrypt() function returns no value.
ERRORS
The encrypt() function will fail if:
ENOSYS The functionality is not supported on this implementation.
USAGE
In some environments, decoding may not be implemented. This is related to U.S. Government restrictions on encryption and decryption rou-
tines: the DES decryption algorithm cannot be exported outside the U.S.A. Historical practice has been to ship a different version of the
encryption library without the decryption feature in the routines supplied. Thus the exported version of encrypt() does encoding but not
decoding.
Because encrypt() does not return a value, applications wishing to check for errors should set errno to 0, call encrypt(), then test errno
and, if it is non-zero, assume an error has occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO crypt(3C), setkey(3C), attributes(5)SunOS 5.11 2 May 2001 encrypt(3C)