Language golang

1

I am entering the market right now, and am pursuing internship in a development company.

I have some doubts about the language of Google, Golang (Go), they are:

  • Is there anything ready with AES and RSA encryption for the Go language?

  • Is there a way to compress the data area in the Go language without using Tazgz?

  • Has anyone ever cached the Go language with REDIS?

  • asked by anonymous 23.06.2017 / 22:07

    1 answer

    2

    I can not answer all the questions ...

      

    Is there anything ready for AES and RSA encryption for the Go language?

    Yes, actually much more than just RSA and AES. But on AES it also supports AES-GCM , which is an AEAD , in addition of several other block cipher methods.

    In summary view this and this one which is complementary.

    The latter adds support for NaCl , as a consequence also allows you to use chacha20poly1305, salsa20. In addition to being able to use other things already done, such as openpgp and tls .

    Of course it also offers a CSPRNG. It also has several types of hashing algorithms (from MD4 to SHA-3 and BLAKE2), as well as support for key derivations (like BCrypt, Scrypt, PBKDF2, HKDF ...).

    An important point is that unfortunately most implementations are not constant-time, this is publicly mentioned on the page. For this reason they can not be considered safe in general. In addition, the RSA implementation supports PKCS # 1 1.5, which is not good , but at least gives you the possibility to use OAEP.

    If you want to go deeper and use some HSM or at least one Amazon KMS, it already provides support for Golang .

        
    23.06.2017 / 23:11