Skip to content

Instantly share code, notes, and snippets.

View FeernandoOFF's full-sized avatar

Fernando Obregón FeernandoOFF

View GitHub Profile
// First Attempt (throws DOMException [NotSupportedError]: Unable to import RSA key with format raw)
const { subtle } = require('crypto').webcrypto;
async function generateKey() {
const algoritm = { name: "AES-CBC", length: 256 };
const exportable = true;
const usage = ['encrypt', 'decrypt'];
return await subtle.generateKey(algoritm, exportable, usage);
}
@FeernandoOFF
FeernandoOFF / Kotlin Flows.ipynb
Created August 19, 2025 10:39
Experimenting with different Kotlin flows and its use cases
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@FeernandoOFF
FeernandoOFF / CompoundInterestDSL.ipynb
Created July 22, 2025 20:22
A Compound Interest Calculator for more complex contributions and visualisations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.