Skip to content
Advertisement

Tag: encryption

How to encrypt a files in Jenkins

I am trying to run Node.js app from jenkins which takes a backup of our API management platform. When we get a backup on jenkins server, we have below directories – Backup There are directories in secrets like abc, pqr, xyz which store some .txt files in it which has confidential data. I want to encrypt all files present in

IvParameterSpec value different for each print

When trying to understand a problem I faced an interesting problem. The IvParameterSpec class cannot hold the IV fixed. It changes for every println. I am using the javac 10.0.2 version on Ubuntu Linux Each of the println prints different values. What is the problem here? Shouldn’t the values be the same? Answer According to the documentation of the method

check password linux user

I am on debian 9. I have a problem to check the password of a linux user in my scripts. I realized that the different linux tools for creating and modifying a user password gave results of different pattern in /etc/shadow To create a user I have in /etc/shadow In another script I want check the password input by the

File Encryption/Decryption with AES using Linux

I’m using the OpenWrt Linux distribution and I want to encrypt a file using AES. How can I do that quickly and easily, and how can I—or someone else—decrypt it again? Answer The quickest and easiest way is to use openssl util (provided by openssl-util package). For example, to encrypt a file, issue the following command: To decrypt:

Advertisement