web-push-libs / encrypted-content-encoding

A simple implementation of the encrypted content-encoding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python nonce usage

randomlogin opened this issue · comments

In python implementation (init.py, line 76):

++counter

python hasn't ++ operator, so the counter is not incremented and initial vector for all the blocks is the same.