Home
last modified time | relevance | path

Searched refs:base64 (Results 1 – 2 of 2) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DBasicAuthenticator.java56 String base64 = Base64.getEncoder().encodeToString(userPass.getBytes(charset)); in getAuthorization() local
58 return " Basic " + base64; in getAuthorization()
/unit/test/unit/applications/
H A Dwebsockets.py1 import base64
26 return base64.b64encode(raw_key).decode()
30 return base64.b64encode(sha1).decode()