mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	Fix division bug in aes.py
This commit is contained in:
		| @@ -18,7 +18,7 @@ def aes_ctr_decrypt(data, key, counter): | ||||
|     @returns {int[]}           decrypted data | ||||
|     """ | ||||
|     expanded_key = key_expansion(key) | ||||
|     block_count = int(ceil(float(len(data)) // BLOCK_SIZE_BYTES)) | ||||
|     block_count = int(ceil(float(len(data)) / BLOCK_SIZE_BYTES)) | ||||
|      | ||||
|     decrypted_data=[] | ||||
|     for i in range(block_count): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user