#Library

4 articles

Getting to Know Hashes Cryptography in Golang

Getting to Know Hashes Cryptography in Golang

Hashes & Cryptography

The hash function takes a set of data and reduces it to a smaller fixed size. Hash is often used in programming for everything from searching data to easily detecting changes. The hash functions in Go are divided into two categories namely cryptographic and non-cryptographic. Non-cryptographic hash functions can be found under the hash package and include adler32, crc32, crc64 and fnv.

Get to know Container List and Sort in Golang

Get to know Container List and Sort in Golang

In addition to arrays and maps, Go has several more collections available under the container package. We’ll look at the container/list package as an example.

Get to know the Standard String Library in Golang

Get to know the Standard String Library in Golang

As programmers who are learning Go Lang, we also need to know Go’s default library packages so that we understand better and have an easier time interacting with the core packages. There are lots of built-in libraries from Golang that can make it easier for us when coding. For example, if we need string conversion, the Go library is provided by default.

Get to know the Input Output Library in Golang

Get to know the Input Output Library in Golang

Before studying the Golang IO library, there are lots of functions in the IO library but the most important ones are 2 function interfaces, namely Reader and Writer. Reader is usually used to read data from a file or some provided input/output. Meanwhile Writer is a function that will later write data to a file or input/output provided by our system.