# Web Cryptography Go Samples

Web Go cryptography and security examples including hash calculation, symmetric encryption, and Base64 encoding/decoding

> Canonical page: https://elysiatools.com/en/samples/web-cryptography-go

- **Category:** Go

- **Keywords:** go, golang, web, cryptography, security, encryption, hash, aes, sha256, md5, base64

## Overview

Web Go cryptography and security examples including hash calculation, symmetric encryption, and Base64 encoding/decoding

## Examples

- **Hash Calculation**: Calculate MD5, SHA256, and other hash values for strings and files using Go crypto packages
- **Symmetric Encryption (AES)**: AES encryption and decryption with various modes (CBC, GCM, CTR) using Go crypto packages
- **Base64 Encoding/Decoding**: Base64 and Base64URL encoding and decoding for strings and binary data

## When to use

- Use this sample set when you want reference inputs for Web Cryptography Go Samples.
- Use it to preview output formats and compare related sample variants.

## How it works

- Open a sample entry to inspect the prepared example payload or asset.
- Compare it with related tools to understand how the workflow connects.

## Use cases

- Hash Calculation
- Symmetric Encryption (AES)
- Base64 Encoding/Decoding

## Frequently asked questions

### What is included in Web Cryptography Go Samples?

This page includes curated sample entries, related tools, and neighboring sample collections for Web Cryptography Go Samples.

## Related tools

- [Web Font Pairing Lab](https://elysiatools.com/en/tools/webfont-pairing-lab): Preview a heading + body Google Fonts pairing with weight and line-height controls, and copy a ready-to-paste CSS @import + variables snippet. Curated 22-face registry plus 7 proven pairing presets.
- [Hash Algorithm Comparator](https://elysiatools.com/en/tools/hash-algorithm-comparator): Hash the same input with MD5, SHA-1, SHA-256, SHA-512, BLAKE2b, and BLAKE3 at the same time and compare them side by side: output length, hex/Base64 digest, security status (broken / modern), and a relative speed benchmark. Great for teaching, choosing a hashing algorithm, or sanity-checking checksums.
- [Hash Generator](https://elysiatools.com/en/tools/hash-generator): Generate hash values (MD5, SHA1, SHA256, SHA512)
- [AES Encryption Tool](https://elysiatools.com/en/tools/aes-encryption-tool): Encrypt or decrypt text and files with AES-256-GCM and export IV-based bundles
- [Chrome Web Store Screenshots Resized](https://elysiatools.com/en/tools/chrome-web-store-screenshots-resized): Resize images to Chrome Web Store screenshot dimensions while preserving full content and aspect ratio for extension and app listings
- [Text Encryptor/Decryptor](https://elysiatools.com/en/tools/text-encryptor-decryptor): Simple text encryption and decryption using various algorithms
- [Web Search (SearXNG JSON)](https://elysiatools.com/en/tools/web-search): Search the web through the s.stdlang.com SearXNG instance and return its JSON response for automation or downstream tools.
- [RSA Encrypt / Decrypt](https://elysiatools.com/en/tools/rsa-encrypt-decrypt): Encrypt text with an RSA public key or decrypt ciphertext with the matching private key, using OAEP padding (SHA-1 or SHA-256). Handles long messages by chunking. Keys and data stay local. PKCS#1 v1.5 is intentionally not offered (Node disables it for decryption due to Bleichenbacher attacks).

## Related content

- [Web Data Serialization Go Samples](https://elysiatools.com/en/samples/web-serialization-go): Web Go data serialization examples including JSON encoding/decoding and XML parsing
- [Android Cryptography Java Samples](https://elysiatools.com/en/samples/android-cryptography-java): Android Java cryptography examples including hash calculation, AES encryption/decryption, and Base64 encoding
- [Android Cryptography Kotlin Samples](https://elysiatools.com/en/samples/android-cryptography-kotlin): Android Kotlin cryptography examples including hash calculation, AES encryption/decryption, and Base64 encoding
- [macOS Cryptography Objective-C Samples](https://elysiatools.com/en/samples/macos-cryptography-objectivec): macOS Objective-C cryptography examples including hash calculation, symmetric encryption, and Base64 encoding
- [Windows Cryptography C++ Samples](https://elysiatools.com/en/samples/windows-cryptography-cpp): Windows C++ cryptography examples including hash calculation, AES encryption/decryption, and Base64 encoding/decoding
- [Web Date & Time Go Samples](https://elysiatools.com/en/samples/web-datetime-go): Web Go date and time examples including getting current time, formatting, parsing, and timezone operations
