Skip to content

Instantly share code, notes, and snippets.

View rudmanmrrod's full-sized avatar
🔥
On fire coding!

Rodrigo Boet rudmanmrrod

🔥
On fire coding!
View GitHub Profile
@rudmanmrrod
rudmanmrrod / forms.py
Created October 21, 2019 16:03 — forked from cansadadeserfeliz/forms.py
Django: pass a variable from a form view to a form
class MyForm(forms.ModelForm):
requested_asset = None
def __init__(self, *args, **kwargs):
other_variable = kwargs.pop('other_variable')
super(MyForm, self).__init__(*args, **kwargs)
@rudmanmrrod
rudmanmrrod / js-crypto-libraries.md
Created October 20, 2017 15:29 — 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.