ScramFS

Why are encrypted file names in Chinese?

By Scram Software 10 September 2017

When you first look at the output of ScramFS encryption, you will notice that file names and directory names become unintelligible:

This is obviously by design and is an important security feature of ScramFS.

However, many people wonder why they see so many Chinese characters, and whether we just translated English file names into Chinese.

Our ciphertext file and directory names are indistinguishable from random.

The text that you see in the screenshot above is an encoding of the raw binary ciphertext data.
The text is, in fact, not all Chinese. It is a mixture of many different character sets, including Chinese, Japanese, Korean (which account for about 83% of characters that you’ll see). But we also use characters in Thai, Tibetan, Ethiopic, Braille, Canadian Aboriginal, Tamil, Javanese, and other languages (including some extinct languages).

In short - the encrypted path names are pure gibberish to anyone who can read any of those character sets.