仿射密码
加密函数为 E(x) = (ax + b) mod m
解密函数为 D(x) = a^-1 (x-b) mod m a^-1为a在m群中的乘法逆元
其中a和b互质,a和m互质。
m为加密字符数量
若m为26(一般情况下),a,b都为26以内的整数
此时a^-1 有且仅有
1 9 21 15 3 19 7 23 11 5 17 25
一个人只有今生今世是不够的,他还应当有诗意的世界。
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true