Skip to content

Instantly share code, notes, and snippets.

View gymadarasz's full-sized avatar
🖥️

Gyula Madarasz gymadarasz

🖥️
View GitHub Profile
@gymadarasz
gymadarasz / POC.php
Last active March 16, 2018 13:31
Exceptions Translates Errors API
<?php
class ErrorMessageException extends Exception {}
class ErrorMessage {
private $error;
private $strict;
private $level;
@gymadarasz
gymadarasz / itoa.c
Created October 5, 2020 00:41 — forked from parzibyte/itoa.c
/**
* C++ version 0.4 char* style "itoa":
* Written by Lukás Chmela
* Released under GPLv3.
*/
char *itoa(int value, char *result, int base) {
// check that the base if valid
if (base < 2 || base > 36) {
*result = '\0';
@gymadarasz
gymadarasz / js-crypto-libraries.md
Created June 19, 2021 16:57 — forked from jo/js-crypto-libraries.md
List of JavaScript Crypto libraries.

JavaScript Crypto Libraries

I start with a list and plan to create a comparison table.

WebCryptoAPI

http://www.w3.org/TR/WebCryptoAPI/

This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.