Tutorials

nginx.jpgNginx : How to block user agent ?

12th August 2014

Problem : Looking for ways to configure Nginx to block certain user agents like crawlers, SEO tools and robots from….... read more



golang.pngGolang : Encrypt and decrypt data with x509 crypto

11th August 2014

This is a simple tutorial demonstrating how to encrypt and decrypt string data with Golang's crypto/x509 package. We will use….... read more



nginx.jpgNginx : TLS 1.2 support

10th August 2014

Couple of days back I was toying with this website https://www.ssllabs.com/ssltest/ to see how good is my website….... read more



facebook.pngHow to test Facebook App on localhost ?

9th August 2014

Usually, in the past when I setup Facebook application for my websites. The new Facebook App Connect API has no….... read more



golang.pngGolang : Create x509 certificate, private and public keys

6th August 2014

Instead of using openssl to generate public and private keys. Go can generate x509 certificates and equivalent RSA private/public keys….... read more



golang.pngGolang : Smarter Error Handling with strings.Contains()

5th August 2014

In this tutorial, we will learn some simple trick with strings.Contain() function on capturing the error message and handling it….... read more



golang.pngGolang : Regular Expression for alphanumeric and underscore

5th August 2014

Problem :

Need a regular expression that only allows upper, lowercase characters, underscores and numbers for Go.

Solution :

Use….... read more



nginx.jpgnginx: [emerg] unknown directive "passenger_enabled"

5th August 2014

In my opinion, nginx in a way is better than Apache. It has low memory footprint and configuring it was….... read more



golang.pngGolang : Read file

5th August 2014

This is the most basic way of how to read a file into buffer and display its content chunk by….... read more



golang.pngGolang : Read binary file into memory

3rd August 2014

Reading a binary file content into memory for further manipulation is easy with Go. In this tutorial, we will show….... read more



golang.pngGolang : Tutorial on loading GOB and PEM files

2nd August 2014

Private and public key cryptography systems have enabled a vast array of security implementations such as encrypting email(PGP), ssh login….... read more



golang.pngGolang : Saving private and public key to files

1st August 2014

In this tutorial we will learn how to save the RSA private and public keys to files. We will use….... read more



golang.pngGolang : How To Use Panic and Recover

30th July 2014

In this tutorial we will understand how panic function works and how to "interrupt and recover" from the panic.

First,….... read more



golang.pngGolang : Example for ECDSA(Elliptic Curve Digital Signature Algorithm) package functions

29th July 2014

In cryptography, the Elliptic Curve Digital Signature Algorithm (ECDSA) is a variant of the Digital Signature Algorithm (DSA) which uses….... read more



golang.pngGolang : Example for DSA(Digital Signature Algorithm) package functions

28th July 2014

There are not many examples or tutorials out there on how to fully utilize the crypto/dsa package. In this tutorial,….... read more



golang.pngGolang : Padding data for encryption and un-padding data for decryption

28th July 2014

Continuing from our last tutorial on TripleDES encryption. We purposely left out the padding/un-padding functions to keep the….... read more



golang.pngGolang : Encrypt and decrypt data with TripleDES

28th July 2014

In this tutorial we will learn how to encrypt and decrypt data with Golang's DES crypto package.

Triple DES (3DES)….... read more



xml.jpgList of Golang XML tutorials

27th July 2014

Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format….... read more



Advertisement