(data: bytes)
| 1734 | } |
| 1735 | |
| 1736 | def binary_to_urlencoded_base64(data: bytes) -> str: |
| 1737 | encoded = base64.urlsafe_b64encode(data).decode("utf-8") |
| 1738 | return encoded.rstrip("=") |
| 1739 | |
| 1740 | @staticmethod |
| 1741 | def eddsa(request, secret, curve='ed25519', url_encode=False): |