SECURING VIETNAMESE TEXT USING AFFINE CIPHER COMBINED WITH OTP ENCRYPTION
Abstract
This paper presents a method that combines Affine encryption and the One-Time Pad (OTP) to enhance the security of Vietnamese text with diacritical marks. Due to the specific characteristics of the Vietnamese alphabet, which includes special characters, the application of traditional encryption techniques requires adjustments to ensure compatibility. The proposed model increases randomness and the difficulty of decryption without the corresponding key, while still maintaining practical feasibility for implementation. In practice, Affine encryption is relatively easy to use; however, selecting keys that satisfy the algorithm's requirements can be quite challenging, whereas OTP uses a key only once. In this paper, we propose a hybrid method that integrates Affine and OTP encryption for encoding and decoding Vietnamese text with diacritical marks, implemented using the Python programming language.