Can anyone tell me, How to plain text can be enctypted like password (********) in vi editor or using vi editor or any other method ?
114723
I need to be able to encrypt/decrypt a single text file stored on my external HD in 12.04 LTS, preferably a GUI application, if any, or the command line otherwise. Thank you.
29250
Is there any simple (IE: right click in Nautilus) way to password protect a particular folder/file in Ubuntu? I've got a few files containing sensitive info and I'd much prefer that if/when I leave my computer alone, they aren't accidentally accessed by someone else.  The secruty does not have to be extremely tight. My only concern is that when family/friends come over, I don't really like the idea of them looking at my bank details, accounts or, you guessed it, porn collection.  A simple, effective way to let me put my machine in the hands of someone else knowing that said machine can not cause me embarresment is the sole reason why I'd like to see this in Ubuntu.
19576
Let's say that there is a binary file encrypted with AES in CBC mode (i.e. using a key and initialization vector). If key is known, but IV is not, is it easy to fully decrypt the file?  How hard is it?
68109
I edited a file in  /etc/ that I want to save, but forgot to open it using sudo. I remember there was a command to save such a file in vi, and want to know if there is any such way to do it in nano?  Thanks.
92138
The previous SF questions I've seen have lead to answers that produce MD5 hashed password.  Does anyone have a suggestion on to produce an SHA-512 hashed password? I'd prefer a one liner instead of a script but, if a script is the only solution, that's fine as well.  Update  Replacing previous py2 versions with this one:  python3 -c "import crypt;print(crypt.crypt(input('clear-text pw: '), crypt.mksalt(crypt.METHOD_SHA512)))"
56951
I have been learning about Vigenere ciphers and then thought of this scenario: if a cryptographer encrypts a plaintext English message with a Vigenere cipher and then another cryptographer, who wants to ensure that the message is very secure, encrypts the ciphertext with another Vigenere cipher (with a different key length). Given only the ciphertext, how can you decrypt the message? A step by step explanation would be greatly appreciated.
38417
Does the  file format use a serious encryption (such as )?  Will it take unfeasibly long to brute force a password?  If not, what tools do you suggest that do so automatically?
100993
I forgot my password of a TrueCrypt file I used a few years ago.  How would I go about 'cracking' it? I'm not sure if there is a way to attack it or if it can only be done by brute-force. I used it on a Mac. I still have the Mac I used it on, but of course turned that off many times since I used it.   I have a passphrase that I thought would relate to this file. Maybe I used some variant of it. But might be something completely different. I have some other words that I might have used, but would need give it another thought how I could have used those.  Is there an automated way to test variations on what I think the passphrase was to regain access to the volume? Is there any other way I might regain access?
18958
How do I lock compiled Java classes to prevent decompilation?  I know this must be very well discussed topic on the Internet, but I could not come to any conclusion after referring them.  Many people do suggest obfuscator, but they just do renaming of classes, methods, and fields with tough-to-remember character sequences but what about sensitive constant values?  For example, you have developed the encryption and decryption component based on a password based encryption technique. Now in this case, any average Java person can use  to decompile the class file and easily retrieve the password value (defined as constant) as well as  and in turn can decrypt the data by writing small independent program!  Or should such sensitive components be built in native code (for example, VC++) and call them via ?
98180
Is it possible to make the password visible as asterisks (or any other character) on using sudo command?  Currently, it does not display anything, thus making it difficult to count the number of keystrokes pressed..
45185
For a software, I don't want the user to choose weak keys, so I plan to just read the needed number of bytes from /dev/random to create the needed secret keys. Is it safe to do so?
83846
How to make some file that contains crucial data protected? For instance, suppose I have some files that are important, is there any method or strategy to make these kind of file more protected on Ubuntu? I even want to make some files ask for a password whenever someone tries to open it. Does it affect the version of Ubuntu in terms of security policy? May I use any encryption algorithm externally? Regards.
35413
When I tried to use arrow keys in insert mode in vi editor the following characters are being inserted in the editor:   for ↓ I get B, for ↑ I get A, for ← I get D, for → I get C.   Please help me in resolve this problem.
106721
What programs can be used to encrypt files that could subsequently be decrypted on any OS? For instance, it should then be possible to easily decrypt the encrypted files under Linux, Windows, OS X, etc.  So how can I encrypt files for maximum cross-platform compatibility?
13553
I need to manually edit /etc/shadow to change the root password inside of a virtual machine image.  Is there a command-line tool that takes a password and generates an /etc/shadow compatible password hash on standard out?
55136
First of all, I'm not looking for miracle... I know how PHP works and that there's not really way to hide my code from the clients without using encryption. But that comes with the cost of an extension to be installed on the running server.  I'm looking for something different though... I'm not looking to encrypt my code or even obfuscate it. There are many PHP scripts without encrypted/obfuscated code but they are commercial applications. For instance, vBulletin and/or IP.Board forum applications.  I just want to know what approach do these guys use for their applications...  I'm also open to any other suggestions.  Please note that I'm a single person and not working for a company. My product is also very specific, it won't sell that much. I just want you guys to know that I can't afford to consult a legal professional either to sue someone or prepare a commercial license. I'm just looking for a simple way to protect my simple product, if it's indeed possible, somehow...
96836
Given TeX's system of catcodes, I imagine that one can  TeX to a remarkable degree. With a view to learning more about the internals of TeX, I ask: How might I go about adding a block of obfuscated code to my document? Let's say I want to add a watermark to my document that I don't want my co-author to be able to edit. How might I do that?  What tricks can I use to make a certain piece of code harder to understand?