Skip to content

Instantly share code, notes, and snippets.

View kvelakur's full-sized avatar

Karthik Velakur kvelakur

View GitHub Profile
@kvelakur
kvelakur / base64.md
Last active December 16, 2015 20:38
Base 64 encoding and decoding using OpenSSL

Base 64 encoding and decoding using OpenSSL

Functions to encode an array of bytes to [Base64], and decode a [Base64] string to an array of bytes.

[Base64]:

@kvelakur
kvelakur / uuidv4.md
Last active April 9, 2023 04:38
Generating a Version 4 UUID using OpenSSL

Generating a Version 4 UUID using OpenSSL

A simple function that uses OpenSSL's RAND_bytes function to generate a Version 4 UUID.