This code is a solution for codenation's challenge (codenation.dev/aceleradev/react-online-1).
The algorithm decrypts a text taken at codenation's API, the text was encrypted with Cesar's cipher (shift 1). After the text it's encrypted again using the sha1 algorithm!