robosats/api
Reckless_Satoshi 354e7fc5c7
Create user generation API
Endpoint request contains a token. Server checks whether it has enough entropy to be secure (at least 128 bits and >0.7 shannon heterogeneity). Server hashes the token (once as of now) and derives nickname and robohash avatar (goes into static/assets/avatars). Nickname is limited to only adjectives, nouns and 3 digits, restricted to 18 characters long max. The corpus of nicknames is 20 billion big (maybe not enough? nick collision chance can happen, but server will just reply with 400 unless the token matches perfectly too)
2022-01-02 09:15:09 -08:00
..
migrations Create api django app 2022-01-01 14:13:27 -08:00
nick_generator Add nick generator and robohash avatar generator 2022-01-02 07:19:49 -08:00
__init__.py Create api django app 2022-01-01 14:13:27 -08:00
admin.py Create api django app 2022-01-01 14:13:27 -08:00
apps.py Create api django app 2022-01-01 14:13:27 -08:00
models.py Rename boolean explicit for is_explicit/isExplicit 2022-01-02 05:38:45 -08:00
serializers.py Rename boolean explicit for is_explicit/isExplicit 2022-01-02 05:38:45 -08:00
tests.py Create api django app 2022-01-01 14:13:27 -08:00
urls.py Create user generation API 2022-01-02 09:15:09 -08:00
views.py Create user generation API 2022-01-02 09:15:09 -08:00