Generating Hash Values on a PC or Laptop

DENIC requires authorised persons to authenticate themselves using a password when accessing the system or carrying out certain requests.

For security reasons, DENIC never stores passwords in plain text; instead, it uses the digital checksum (hash value) of the password. DENIC therefore requires its members to provide the hash value in advance.

You can generate hash values yourself in just a few simple steps on a local PC or laptop running Linux, Unix, Mac OS or Windows.

Typical access requests and tasks involving hash values include:

Services Hash Algorithm
RRI-Login MD5
RAI-Login MD5
RRI "CREATE AUTHINFO 1"und "CREATE AUTHINFO 2"-Auftrag SHA-256

 

In the following examples, ‘DENIC’ is used as the password. The results of the hash calculations can be found at the end of this topic.

 

Mac OS

Command in Terminal:

MD5

Copy
printf '%s' 'DENIC' | md5 | awk '{print $1}'

 

SHA-256

Copy
printf '%s' 'DENIC' | shasum -a 256| awk '{print $1}'

 

Linux and Unix

Command in the Bash shell:

MD5

Copy
printf '%s' 'DENIC' | md5sum | awk '{print $1}'

 

SHA-256

Copy
printf '%s' 'DENIC' | sha256sum | awk '{print $1}'

 

Windows

The hash value can be generated in PowerShell using the following commands:

MD5

Copy
[bitconverter]::toString([System.Security.Cryptography.MD5]::Create().ComputeHash([System.Text.Encoding]::UTF8.GetBytes("DENIC"))).Replace("-","").ToLower()

 

SHA-256

Copy
[bitconverter]::toString([System.Security.Cryptography.SHA256]::Create().ComputeHash([System.Text.Encoding]::UTF8.GetBytes("DENIC"))).Replace("-","").ToLower()

 

Results for Linux, Unix, Mac OS and Windows

For the example password ‘DENIC’, the hashes are:

MD5

Copy
02858dccec6e2058977c7d7df38f41c3

 

SHA-256

Copy
e59dad996a1285fcfa1e1fdf83c08f40bb140cb4f8db636ee50a7d90998fef37