随笔分类 - 艺术
摘要:Security and Cryptography in Python - Stream Ciphers(5) Stream Cipher in Real Life - A5/1 Linear Feedback Shift Registers(LFSR)
阅读全文
摘要:Security and Cryptography in Python - Stream Ciphers(4) Low entropy - Brute force of our Stream Cipher import random class KeyStream: def __init__(sel
阅读全文
摘要:Security and Cryptography in Python - Stream Ciphers(3) The problem of re-use of keys in Stream Ciphers import random class KeyStream: def __init__(se
阅读全文
摘要:Security and Cryptography in Python - Stream Ciphers(2) Implementation of the Authenticity problem with Stream Ciphers import random class KeyStream:
阅读全文
摘要:Security and Cryptography in Python - Stream Ciphers(1) The practical implementations of One Time Pads Real-life One Time Pad? 1Gb message requires 1G
阅读全文
摘要:Security and Cryptography in Python - One Time Pad XOR Example def xor(x, s): print(x, 'xor', s, '=', x^s) def xorb(x, s): print(bin(x), 'xor', bin(s)
阅读全文
摘要:Security and Cryptography in Python - Frequency Analysis Frequency Analysis cipher = """lrvmnir bpr sumvbwvr jx bpr lmiwv yjeryrkbi jx qmbm wi bpr xjv
阅读全文
摘要:Security and Cryptography in Python - Substitution Cipher A Substitution Cipher has \[ 26! = 403291461126605635584000000 \] possible permutations / po
阅读全文
摘要:Security and Cryptography in Python - Check the performance and understand how fast the space of permutations grows def faculty(n): if n <= 1: return
阅读全文
摘要:Security and Cryptography in Python - Implementing a counter on how many permutations there are from itertools import permutations my_list = [1, 2, 3]
阅读全文
摘要:Security and Cryptography in Python - Attack on Caesar Cipher Crypto Rule #1(Kerckhoffs' Principle) Eve should not be able to break the ciphers even w
阅读全文
摘要:Security and Cryptography in Python - Caesar Cipher Decryption Coding in Python def generate_key(n): letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" key = {} c
阅读全文
摘要:Security and Cryptography in Python - Caesar Cipher Coding in Python def generate_key(n): letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" key = {} cnt = 0 for
阅读全文
摘要:Python for Data Science - Next Steps Network analysis using Python Deep learning, reinforcement learning, semi-supervised learning Start practicing Co
阅读全文
摘要:Chapter 6 - Other Popular Machine Learning Methods Segment 6 - Ensemble methods with random forest Ensemble Models Ensemble models are machine learnin
阅读全文
摘要:Chapter 6 - Other Popular Machine Learning Methods Segment 5 - Naive Bayes Classifiers Naive Bayes Classifiers Naive Bayes is a machine learning metho
阅读全文
摘要:Python for Data Science - Decision Trees With CART Decision Tree A decision tree is a decision-support tool that models decisions in order to predict
阅读全文
摘要:Chapter 6 - Other Popular Machine Learning Models Models Segment 3 - Instance-based learning w/ k-Nearest Neighbor K-Nearest Neighbor Classification A
阅读全文
摘要:Chapter 6 - Other Popular Machine Learning Methods Segment 2 - A neural network with a Perceptron Perceptron A perceptron is a neural network with jus
阅读全文
摘要:Chapter 6 - Other Popular Machine Learning Methods Segment 1 - Association Rule Mining Using Apriori Algorithm Association Rule Mining Association rul
阅读全文

浙公网安备 33010602011771号