- 博客(34)
- 收藏
- 关注
原创 Palisade pke scheme headers
Palisade pke scheme headers文章目录Palisade pke scheme headers\pke\include\scheme\rlwe.h\pke\include\scheme\allscheme.h\pke\include\scheme\bfvrns.hLPCryptoParametersBFVrns 类LPAlgorithmParamsGenBFVrns 类LPAlgorithmBFVrns 类LPAlgorithmSHEBFVrns 类LPAlgorithmPREBFV
2022-05-30 20:57:43 448
原创 Palisade pke headers 第二部分
Palisade pke headers 第二部分文章目录Palisade pke headers 第二部分\pke\ciphertext.hCiphertextImpl 类\pke\ciphertext-ser.h\pke\pubkeylp-ser.h\pke\pubkeylp.hEncryptionResult 结构体DecryptionResult 结构体LPKey 类LPPublicKeyImpl 类LPEvalKeyImpl 类LPEvalKeyRelinImpl 类LPPrivateKeyIm
2022-05-30 20:44:47 213
原创 Palisade pke headers 第一部分
Palisade pke headers 第一部分文章目录Palisade pke headers 第一部分\pke\ciphertextparameters.h\pke\cryptocontexthelper.h\pke\scheme\allscheme.h\pke\cryptocontext.hCryptoContextImpl类Protected成员public成员同态计算CryptoObject 类protected 成员public成员CryptoContextFactory\pke\crypt
2022-05-30 18:56:26 189
原创 Palisade math 最后一个头文件源码
\core\include\math\bigintntl\mubintvecntl.h#include "config_core.h"#ifdef WITH_NTL#include <NTL/SmartPtr.h>#include <NTL/vec_ZZ.h>#include <NTL/vector.h>#include <initializer_list>#include <iostream>#include <stri
2022-05-26 22:23:30 129
原创 Palisade math biginteger headers
Palisade math biginteger headers\core\include\math\bigintnat\ubintnat.hThis file contains the main class for native integers.It implements the same methods as other mathematical backends.#ifndef LBCRYPTO_MATH_BIGINTNAT_UBINTNAT_H#define LBCRYPTO_MATH_
2022-05-26 22:22:08 133
原创 Palisade lattice headers
Palisade lattice headers文章目录Palisade lattice headers\core\include\lattice\elemparams.hclass ElemParams : public Serializable\core\include\lattice\ilparams.hclass ILParamsImpl : public ElemParams\core\include\lattice\ildcrtparams.hclass ILDCRTParams : publ
2022-05-24 10:36:13 594
原创 Palisade lattice层
PALISADE Lattice Cryptography LibraryLicense InformationDocument DescriptionThis document is intended to describe the overall design, design considerations and structure of the lattice directory in the PALISADE lattice crypto library.Lattice Directory
2022-05-24 09:21:07 138
原创 Palisade encoding headers
Palisade encoding headers文章目录Palisade encoding headers\core\include\encoding\encodings.h\core\include\encoding\encodingparams.hEncodingParams and PlaintextModulusEncodingParamsImpl类private成员public成员类外操作符重载\core\include\encoding\plaintextfactory.h\core\inc
2022-05-17 21:51:14 398
原创 Palisade math headers
Palisade源码01今天开始正式记录一下palisade开源库源代码。\core\include\encoding\encodingparams.h这个头文件定义了类 EncodingParamsImpl#include "math/backend.h"class EncodingParamsImpl : public lbcrypto::Serializable 定义别名typedef std::shared_ptr<EncodingParamsImpl> Encoding
2022-05-17 19:42:54 227
原创 Palisade distribution generation headers
Palisade distribution generation\core\include\math\distrgen.hThis code provides basic noise generation functionality.#ifndef LBCRYPTO_MATH_DISTRGEN_H_#define LBCRYPTO_MATH_DISTRGEN_H_#define _USE_MATH_DEFINES#include <bitset>#include <cmat
2022-05-17 11:08:08 131
原创 Sampling in PALISADE
Sampling in PALISADEPALISADE library offers various methods for sampling from discrete Gaussian distribution. The methods are implemented in both DiscreteGaussianGenerator and DiscreteGaussianGeneratorGeneric classes, which have their specific uses. All o
2022-05-16 11:09:27 205
原创 Palisade utils
\core\include\utils\inttypes.hstdint.h 中定义了 uint8_t , uint16_t , uint32_t , uint64_t 等类型,其实它们只是 char , short 等类型的别名。关于<stdint.h>/** * @brief Type used for representing unsigned 8-bit integers. */typedef uint8_t uschar;/** * @brief Type us
2022-05-16 10:35:00 495
原创 Palisade math backends设计思路
PALISADE supports a number of different math backendsThe design goal is to have several math backends available at the same time, and to permit the programmer to choose,at runtime, which backend to use.用户可以在运行时选择使用哪种backendThe current implementation su
2022-05-15 20:30:32 110
原创 机器学习——线性回归(Linear Regression)(吴恩达机器学习)
机器学习——线性回归(Linear Regression)房屋价格预测监督学习过程房屋价格预测在监督学习里,我们有一个数据集,它被称为一个训练集一些符号:m:训练样本的数量x:输入变量/特征y:输出变量/目标变量(x,y):表示一个训练样本(x(i),y(i)):第i个训练样本监督学习过程1.我们向学习算法提供训练集2.学习算法的任务是输出一个函数,,通常用小写h表示,h代...
2020-05-18 09:48:49 410
原创 机器学习入门(吴恩达机器学习)
机器学习入门机器学习定义机器学习类型监督学习(Supervised Learning)无监督学习(Unsupervised Learning)机器学习定义Arthur Samuel(1959).Machine Learning:Field of study that gives conputers the ability to learn without being explicitly pr...
2020-05-06 20:39:42 570
原创 Android按两下返回键的退出的两种实现
Android按两下返回键的退出的两种实现首先定义一个计算两次返回键间隔的变量private long exitTime = 0;1.重载onKeyDown方法public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && eve...
2020-01-14 11:00:50 722 2
原创 在openssl申请证书时遇到的问题解决
关于 can’t open config file: z:/strawberry_libs/build/2013Q3/ssl/openssl.cnf问题解决一开始运行openssl的时候就产生一条WARMING:WARNING: can’t open config file: z:/strawberry_libs/build/2013Q3/ssl/openssl.cnf当时没在意结果产生.c...
2019-03-28 20:54:37 10136 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人