About 76 results found. (Query 0.12300 seconds)
This is the length of the base64 destination. Take that nummber of bytes from the front of the full destination to get the destination as a range of bytes. Convert back to a base64 representation using i2p's base64 character set.
GotHub (Alpha) Explore About Source code Back to abi/screenshot-to-code backend/llm.py Raw 1 import copy 2 from enum import Enum 3 import base64 4 import time 5 from typing import Any , Awaitable , Callable , List , cast , TypedDict 6 from anthropic import AsyncAnthropic 7 from openai import AsyncOpenAI 8 from openai . types . chat import ChatCompletionMessageParam , ChatCompletionChunk 9 from config import IS_DEBUG_ENABLED 10 from debug .
Explore Help Sign In Arav / justcaptcha Watch 1 Star 0 Fork 0 You've already forked justcaptcha Code Issues Releases 6 Activity justcaptcha / db.go Alexander "Arav" Andreev dede76d13e Simplified file structure. 2023-08-12 22:29:01 +04:00 43 lines 1.0 KiB Go Raw Permalink Blame History package captcha import ( "crypto/rand" "crypto/sha256" "encoding/base64" "image" "strconv" "time" ) const DefaultExpiredScanInterval = 60 * time . Second // ID is a CAPTCHA identifier. type ID string // NewID...
I definetly install it then and wait for the update. Thanks for your hard work, it looks really good. 2 u/import-base64 12d ago thank you! v0.36.0  ⓘ View instance info   <> Code
/bin/bash # # Simple script to encrypt text with a one-time pad function gen_otp (){ # Generate a One Time Pad based on the length of the string to be encrypted plaintext = $1 plainlen = ${# plaintext } # Generate the One Time Pad otp = $( cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w $plainlen | head -n 1 ) echo -n $otp } function otp_encrypt (){ # XOR the plaintext string against the One Time Pad plaintext = " $1 " plainlen = ${# plaintext } # Grab the OTP and base64 decode it otp = $2...
More info: Issue #59 - Return image base64 encoded . //imageproxy.i2p/?url=imageproxy.i2p/lichtenstein.jpg & crop=100,100,720,530 & encoding=base64 Cache-Control & maxage= ​ Defines for how long an image should be cached by the browser.
\xc8 u \x88 \xab 9-[ \x9e | \xf1 \xcd " ) def test_decrypt_text ( self ) : password = intlist_to_bytes ( self . key ) . decode ( ' utf-8 ' ) encrypted = base64 . b64encode ( intlist_to_bytes ( self . iv [ : 8 ] ) + b ' \x17 \x15 \x93 \xab \x8d \x80 V \xcd V \xe0 \t \xcd o \xc2 \xa5 \xd8 ksM \r \xe2 7N \xae ' ) . decode ( ' utf-8 ' ) decrypted = ( aes_decrypt_text ( encrypted , password , 16 ) ) self . assertEqual ( decrypted , self . secret_msg ) password = intlist_to_bytes ( self . key )...
Чтобы из длинного адреса получить короткий, воспользуйтесь python-скриптом (длинный адрес передаётся как параметр): #!/usr/bin/env python import base64, hashlib, sys if len(sys.argv) != 2: print 'Usage: convertkey.py <base64key>' sys.exit(1) key = sys.argv[1] raw_key = base64.b64decode(key, '-~') hash = hashlib.sha256(raw_key) base32_hash = base64.b32encode(hash.digest()) print base32_hash.lower().replace('=', '')+'.b32.i2p' А чтобы из короткого...
Чтобы двоичную информацию было проще воспринимать человеку, а также легко передавать в текстовом виде, в I2P почти повсеместно используется кодировка base64 . Алфавит base64 в I2P отличается от общего стандарта на два символа: + заменяется на - , а / на ~ . Это связано с использованием base64-строк в веб-браузере, где + и / являются специальными символами: человекочитаемые короткие домены записываются в локальную базу роутера через браузер посредством...
. /// Format of known_hosts is: _(fields are separated by any space sequence)_ /// ``` /// # host expires algo base64 fingerprint /// ``` text /// # host expires algo base64 fingerprint /// dc09.ru 1722930541 sha512 dGVzdHRlc3R0ZXN0Cg /// ``` pub async fn parse_file ( path : impl AsRef < Path > ) -> std :: io :: Result < KnownHostsFile > { Write Preview Loading… Add table Rows Columns Cancel OK Cancel Save Reference in a new issue Repository unweb/tokio-gemini...
Después de arrancarla será difícil que otras personas la encuentren porque no tiene un nombre y porque ellos no tienen la clave Base64. Podrías simplemente decir a la gente tu clave Base64, pero afortunadamente I2P tiene una libreta de direcciones y varias formas fáciles de indicar a la gente como alcanzar tu eepsite.
There are multiple ways to decrypt a Savestring: Method Info Openssl Remove [-!_0_!-] from the String Encrypt: openssl enc -e -base64 -A -aes-256-cbc -md md5 -pass pass:"{password}" Decrypt: openssl enc -d -base64 -A -aes-256-cbc -md md5 -pass pass:"{password}" CryptoJS Remove [-!
Like sendMessage above, except the key used and the tags sent Tue, 06 Feb 2024  |  Citations  |  Cache  |  VerifiedDestination (I2P Anonymous Network - Java Documentation - API Version 0.9.56) http://idk.i2p/javadoc-i2p/net/i2p/data/VerifiedDestination.html :[ext]:rand:counter I2P version is ver:bits:date::[ext]:rand:counter The HashCash is calculated with the following resource: The Base64 of the Public Key concatenated with the Base64 of the Signing Public Key (NOT the...
--------------67a6102d301638.17163654 Content-Type: image/jpeg; name=csink2.jpeg Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=csink2.jpeg /9j/4AAQSkZJRgABAQEAAAAAAAD/4QAuRXh Re: One Post by: Anonymous (full thread) Posted: 6 Hours 59 Minutes ago in: rocksolid.shared.i2p This is a multi-part message in MIME format. --------------67a5eefa0b2839.40990032 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit That's not a cat, it's a...
Не должно получаться что то не то: в коде же просто вызов соотвествующих функций openssl. m_Pkey = EVP_PKEY_new_raw_private_key (EVP_PKEY_X25519, NULL, priv, 32); EVP_PKEY_get_raw_public_key (m_Pkey, m_PublicKey, &len); Другое дело, что утилита выдает их кодировке base64, которая для I2P отличается от стандартной. Offline Link Сообщение   Тема   (x) Fri, 08 Jul 2022, 07:51am #3 lecho24 Участник Registered: June 2022 Последний раз: Wed, 04 Dec 2024 Сообщения: 39 orignal wrote: Другое дело,...
This commit is contained in: AGentooCat 2024-09-06 16:35:15 +00:00 parent 476df2391d commit b00403d8ae Signed by: AGentooCat GPG key ID: 5048DC4BE0ECA70D 1 changed files with 9 additions and 1 deletions Show all changes Ignore whitespace when comparing lines Ignore changes in amount of whitespace Ignore changes in whitespace at EOL Show stats Download patch file Download diff file Expand all files Collapse all files 10 whitebox/__init__.py Unescape Escape View file @ -1,5 +1,11 @@ from . import config ,...
Split ( raw , [ ] byte ( "." ) ) [ 1 ] // carve out data from jwt raw , err = base64 . RawStdEncoding . DecodeToBytes ( raw ) if err != nil { return } if bytes . Equal ( raw , oldRaw ) { log . Fatal ( "Manifest has not changed, exiting!"
GetMonero.org Cryptography in Monero Base58 Base58 Base58 is a binary-to-text encoding scheme. It is similar to Base64 but has been modified to avoid both non-alphanumeric characters and letters which might look ambiguous when printed. The characters excluded in relation to Base64 are: IOl0+/ Base58 does not strictly specify the format.
ABCMeta ) : """ All data is encoded in base64 & data is compressed, if minimum savings are available Be careful as this could potentially be insecure in the event that an attacker can manipulate what is encrypted, see https://en.wikipedia.org/wiki/CRIME and https://en.wikipedia.org/wiki/BREACH """ __slots__ = ( ) def encrypt_and_sign ( self , data : bytes , method : str = DEFAULT_METHOD , min_savings : float = 0.10 ) - > bytes : return self .
ssh pubkey to huawei ssh-keygen -e -m pem -f ~/.ssh/id_rsa.pub | sed ' 1d;$d ' | tr -d ' \n ' | base64 -d | od -t x1 -An | tr -d ' \n ' | tr ' a-f ' ' A-F ' | sed ' s/\(.\{8\}\)/\1 /g ' | fold -w 54 Содержание