For the complete documentation index, see llms.txt. This page is also available as Markdown.

Poly1305

Message Authentication Codes video

In order to understand hex and type parameters read HASH

Poly1305

spec

Description: Message authentication code based on block cipher.

Uses: Performance is important

Key size: 256 bits

Nonce size: 128 bits

How to ???

import requests
import json
import os,binascii

def sending(message):
    url = 'http://127.0.0.1:6613/'
    response = requests.post(url, data=message)
    print response.content
    return response.content

data_js='{"version":1,"algorithm":"POLY1305","type":"string","plaintext":"Hello world!","hex":0,"key":"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF","nonce":"0123456789ABCDEF0123456789ABCDEF"}'
sending(data_js)

In this example we generate POLY1305 to hex string Hello world! with the key and nonce given.

Json to poly1035 string

Json to poly1035 file

Last updated