Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/l/i/libkeepass-0.1.2/libkeepass/kdb4.py   libkeepass(Download)
from lxml import etree
from lxml import objectify
from crypto import Salsa20
 
class KDBXmlExtension:
    def __init__(self, unprotect=True):
        self._salsa_buffer = bytearray()
        self.salsa = Salsa20(
            sha256(self.header.ProtectedStreamKey), 
            KDB4_SALSA20_IV)

src/l/i/libkeepass-HEAD/keepass/kdb4.py   libkeepass(Download)
from lxml import etree
from lxml import objectify
from crypto import Salsa20
 
class KDBXmlExtension:
    def __init__(self, unprotect=True):
        self._salsa_buffer = bytearray()
        self.salsa = Salsa20(
            sha256(self.header.ProtectedStreamKey), 
            KDB4_SALSA20_IV)