@thedevs · Post #1229 · 19.09.2018 г., 17:22
An Intensive Introduction to Cryptography. #article#tutorial#security#cryptography @thedevs https://kutt.it/aWOpN6
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #83 · 11 мај
У строки в Python есть два очень похожих метода. На столько похожих что кажется они делают одно и тоже. Это метод isdigit() и isnumeric() Давайте посмотрим зачем нам два одинаковых метода? И так ли они одинаковы? Очевидно что isdigit() говорит нам, состоит ли строка только из чисел 0-9 >>> '12'.isdigit() True >>> '12x'.isdigit() False >>> '-12'.isdigit() False >>> '12.5'.isdigit() False Можно предположить что isnumeric() делает более глубокий анализ и распознаёт в строке float или отрицательное число. >>> '15'.isnumeric() True >>> '-15'.isnumeric() False >>> '15.2'.isnumeric() False Нет, всё так же как и с другим методом. В чем же тогда разница? Для начала посмотрим следующие примеры: >>> '5'.isdigit(), '5'.isnumeric() # Обычная цифра 5 # True, True >>> '꧕'.isdigit(), '꧕'.isnumeric() # Яванская 5 # True, True >>> '෩'.isdigit(), '෩'.isnumeric() # Синхала 3 # True, True >>> '৩'.isdigit(), '৩'.isnumeric() # Бенгальская 3 # True, True >>> '༣'.isdigit(), '༣'.isnumeric() # Тибетская 3 # True, True >>> '³'.isdigit(), '³'.isnumeric() # 3 верхний индекс (степень) # True, True >>> '𝟝'.isdigit(), '𝟝'.isnumeric() # Математическая двойная 5 # True, True >>> '๔'.isdigit(), '๔'.isnumeric() # Тайская 4 # True, True >>> '➑'.isdigit(), '➑'.isnumeric() # 8 в круге # True, True А теперь примеры в которых, по мнению Python, результаты не равны >>> '¾'.isdigit(), '¾'.isnumeric() # дробь три четверти # False, True >>> '⅕'.isdigit(), '⅕'.isnumeric() # дробь одна пятая # False, True >>> '𒐶'.isdigit(), '𒐶'.isnumeric() # клинопись 3 # False, True >>> '三'.isdigit(), '三'.isnumeric() # 3 из унифицированной идеограммы # False, True >>> '⑩'.isdigit(), '⑩'.isnumeric() # цифра 10 в круге # False, True >>> 'Ⅳ'.isdigit(), 'Ⅳ'.isnumeric() # Римская 4 # False, True >>> '𑇪'.isdigit(), '𑇪'.isnumeric() # Сенегальская архаическая 10 # False, True >>> '𐌢'.isdigit(), '𐌢'.isnumeric() # Этрусская цифра 10 # False, True >>> 'ↂ'.isdigit(), 'ↂ'.isnumeric() # Римская цифра 10000 # False, True >>> '〇'.isdigit(), '〇'.isnumeric() # Символ ККЯ ноль # False, True Получается, что isdigit() говорит нам, является ли символ десятичной цифрой или спецсимволом, имеющим цифирное значение после преобразования. В свою очередь isnumeric() включает все дополнительные символы юникода которые имеют отношения к числовым и цифровым представлениям. Ну и пара примеров в которых в обоих случаях символ не является числом, это эмодзи. >>> '🕙'.isdigit(), '🕙'.isnumeric() # эмодзи 10 часов # False, False >>> '7️⃣'.isdigit(), '7️⃣'.isnumeric() # эмодзи 7 # False, False Также есть еще один дополнительный и весьма полезный метод isdecimal(). Он нам сообщает, можно ли из указанного символа сделать простую десятичную цифру. То есть сработает ли метод int(x) >>> '෩'.isdecimal(), int('෩') # Синхала 3 # True, 3 >>> '➑'.isdecimal(), int('➑') # 8 в круге # False, ValueError Какие выводы? 🔸 При определении цифры в строке isdigit() подходит лучше чем isnumeric(), но оба не гарантируют успешную конвертацию в int 🔸 Для однозначного определения возможности преобразования строки в int лучше подходит метод isdecimal() 🔸 Для однозначного определения символов 0...9 лучше использовать regex Полный список символов юникода которые определяются как numeric #basic
Hashtags
Пребарај: #cryptography
@thedevs · Post #1229 · 19.09.2018 г., 17:22
An Intensive Introduction to Cryptography. #article#tutorial#security#cryptography @thedevs https://kutt.it/aWOpN6
@interesting_planet_facts · Post #1106 · 06.12.2025 г., 22:11
🌎 The ancient Voynich Manuscript, kept at Yale University, is a 240-page illustrated book written in an unknown script and language. Despite decades of research, expert codebreakers and linguists have failed to decipher its text or explain its purpose. Radiocarbon dating places its creation in the early 15th century. ✨ #history⚡#cryptography⚡#manuscripts 👉subscribe Interesting Planet 👉more Channels
@venturevillagewall · Post #4160 · 15.02.2025 г., 13:00
Funding Round Highlights: February 2025 Check out the latest funding rounds! 1. Antithesis - $30M (Feb 13, 2025) - Bug detection platform. 2. QuSecure - $28M (Jan 22, 2025) - Post-quantum cryptography solutions. 3. Plasma - $20.5M (Feb 13, 2025) - Bitcoin-secured payment rails. 4. Circuit - $17M (Feb 13, 2025) - Green electric mobility solutions. 5. T-Max - $15.5M (Feb 13, 2025) - Private lending services. 6. Somatic - $13.7M (Feb 12, 2025) - Commercial bathroom cleaning. 7. Aijie Boya - $13.68M (Feb 12, 2025) - Biotech company. 8. Fyteko - $13.54M (Feb 13, 2025) - Sustainable agriculture technology. 9. Phase - $13M (Feb 13, 2025) - Animation tools for designers. 10. Tofu - $12M (Feb 13, 2025) - AI marketing assistant for B2B. #Funding#Investments#Cryptography#Bitcoin#Mobility#Sustainable#Tech#AI#VC
@kejiqu · Post #4272 · 19.03.2026 г., 01:39
2026 图灵奖授予量子密码学发明者 计算机协会 (Association for Computing Machinery) 于周三宣布,Charles Bennett 博士和 Gilles Brassard 博士因其在量子密码学及相关技术方面的开创性工作而共同荣获 2026 年图灵奖。该奖项通常被称为计算机领域的诺贝尔奖,奖金为 100 万美元。两位科学家于 1983 年发表研究,证明了量子地铁票无法伪造,并于 1984 年提出了 BB84 系统,该系统利用光子创建加密密钥,通过量子力学原理实现安全加密。Slashdot 🏷#Turing#Award#Quantum#Cryptography#BB84 📢频道👥群组📝投稿
@CryptoM · Post #65220 · 12.04.2026 г., 04:08
🚀 Google Quantum AI Reduces Resources Needed to Break Bitcoin Signatures Google Quantum AI research has significantly reduced the estimated resources required to break Bitcoin's ECDSA signatures by approximately 20 times. According to NS3.AI, this advancement places the theoretical threshold near 500,000 physical qubits. The primary risk is associated with transaction signing and addresses with exposed public keys, rather than Bitcoin mining or the entire blockchain. #Google#QuantumAI#Bitcoin#ECDSA#Cryptography#Qubits#Cybersecurity#Blockchain#BTC
@githubtrending · Post #14900 · 02.07.2025 г., 14:30
#c_lang#cryptography#decryption#encryption#openssl#ssl#tls OpenSSL is a free, open-source toolkit that helps secure data by using strong encryption methods like TLS, SSL, and QUIC protocols. It includes libraries for cryptography and a command-line tool to create keys, certificates, encrypt data, and test security. OpenSSL is widely trusted and used by many software and websites to protect sensitive information during transmission, ensuring privacy and data integrity. It works on many operating systems and is regularly updated by a global community. Using OpenSSL helps you build secure applications and protect communications from cyber threats easily and reliably[1][3][5]. https://github.com/openssl/openssl
@CryptoM · Post #65040 · 10.04.2026 г., 15:26
🚀 Quantum Threats Are Real but Not Immediate, Experts Say Quantum computing poses a genuine threat to current cryptographic systems, but it is not an immediate concern. According to PANews, understanding which cryptographic components will be affected and how the industry plans to transition is crucial. Experts emphasize the importance of identifying vulnerable areas and preparing for a gradual migration to quantum-resistant technologies. The focus should be on strategic planning and readiness to ensure security in the face of future quantum advancements. #QuantumComputing#Cryptography#CyberSecurity#QuantumThreats#QuantumResistant#TechPlanning#FutureTechnology
@venturevillagewall · Post #3584 · 20.12.2024 г., 09:34
$300M Funding for SandboxAQ SandboxAQ has raised $300M as of December 18, 2024. The company focuses on integrating AI and advanced computing to tackle significant societal challenges, offering technologies such as AI simulation, cryptography management for cybersecurity, and AI sensing for global organizations. 🔗Learn more #SandboxAQ#Funding#AI#Cybersecurity#Cryptography#AIsimulation#AdvancedComputing#SocietalChallenges#Technology#GlobalOrganizations