登录
首页 » 加密解密 » 使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即...

使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即...

于 2022-08-22 发布 文件大小:37.95 kB
0 367
下载积分: 2 下载次数: 1

代码说明:

使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即只能对软盘操作 2.不能改变磁盘扇区大小,只能是标准的 512 个字节。 参数说明: command 操作: 0 重置磁盘 2 读扇区 3 写扇区 4 校验磁道 5 格式化磁道 8 得到设备参数 (int 1EH) drive 驱动器 A:=0 B:=1 head 磁头号,范围 0 - 1 track 磁道号,范围 0 - 84 ( 80 - 84 为特殊磁道,通常用来加密 ) sector 扇区号,范围 0 - 255 ( 19 - 255 为非标准扇区编号,通常用来加密) nsectors 每次读或写的扇区数,不能超出每磁道的最大扇区数 buffer 数据写入或读出的缓冲区,大小为 512 个字节 返回值 ( 同 Int 13H ): 0x0 成功 0x1 无效的命令 0x3 磁盘被写保护 0x4 扇区没有找到 0xa 发现坏扇区 0x80 磁盘没有准备好-using the API programming, formatting and testing literacy and special sectors. Windows can be used as a disk encryption. This function has the following two shortcomings to be improved : 1. This function can only be read, read A : and B : that only the right to operate two floppy disks. No change disk sector size, the standard is only 512 bytes. Parameter Description : command operations : 0 Reading 2 replacement disk write Sector Sector 3 4 5 checksum track to be formatted track eight equipment parameters (int 1EH) drive drive

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • one of example about hardware design language
    one of example about hardware design language
    2022-03-30 12:23:48下载
    积分:1
  • This procedure code for the line
    本程序代码为列队型码,希望对你有一定的帮助,仅供参考!-This procedure code for the line-up code, I hope you have some help, for reference purposes only!
    2023-03-12 06:25:03下载
    积分:1
  • DES 加密 系统的 C 语言 实现的源代码
    DES 加密 系统的 C 语言 实现的源代码-DES encryption system of the C language source code
    2022-04-09 20:27:15下载
    积分:1
  • 用于实现SHA1加密算法,一个标准化的格式,STA…
    用java实现的sha1加密算法,格式非常规范,标准的一个程序,注释很详细^_^-used to achieve the sha1 encryption algorithm, a very standardized format, a standard procedure, very detailed notes ^ _ ^
    2023-02-01 16:25:03下载
    积分:1
  • RSA small program source random
    RSA的小程序,源码产生随机素数调用方法:N.GetPrime(bits)返回值:N被赋值为一个bits位(0x100000000进制长度)的素数-RSA small program source random-number call methods : N. GetPrime (bits) Returns : N has been assigned a bits- (0x100000000 band length) of prime numbers
    2022-01-31 11:54:04下载
    积分:1
  • /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http...
    /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序调用Miracl ver 4.82大数运算库,详见其附带手册。 * P,Q,N,D,E使用RSATool2生成。 */ 编译提示: 一:将Project-Settings-Settings For(All Configuration)-C/C++中Category项的 Precompiled Headers设置成:Automatic use of precompiled headers(图1)。 二:将ms32.lib添加到工程中(图2)。 三:MIRACL是C库。 extern "C" { #include "miracl.h" #include "mirdef.h" } #pragma comment( lib, "ms32.lib" )-/* RSA Demo version 1.0* Copyright (C) 2004 Zhao Chunsheng 2004.04.25*** http://timw.126.com http://timw.yeah.net* The procedures called Miracl ver 4. The majority of computing for 82, as detailed in its fringe manual.* P, Q, N, D, E use RSATool2 generation.*/Compiler Tip : 1 : Project-Settings- Settings For (All Configuration)- C/C Category, of OO Headers set : Automatic use of precompiled headers (Figure 1). 2 : ms32.lib added to the project (Figure 2). 3 : MIRACL C library. Extern "C" (# include "miracl.h"# include "mirdef.h")# pragma
    2023-01-22 15:25:03下载
    积分:1
  • 加密算法源代码DES&RSA
    加密算法源代码DES&RSA-encryption algorithm source code DESRSA
    2022-03-21 05:05:26下载
    积分:1
  • 含有常用的一些加密标准算法实现
    含有常用的一些加密标准算法实现- Includes the commonly used some encryption standard algorithms to realize
    2022-03-13 00:19:15下载
    积分:1
  • 是啊 10 点
    包含的.m 文件那土窖使用 RSA Algorihtme 所以享受它只笑着现在这由创建的 hahahahahhahahahhah"肖恩 · 戈麦斯"大家伙从我不知道请结束 100 字符:)
    2023-01-25 11:35:04下载
    积分:1
  • JAVA中license控制实现实例
    现在很多J2EE应用都采用一个license文件来授权系统的使用,特别是在系统购买的早期,会提供有限制的license文件对系统进行限制,比如试用版有譬如IP、日期、最大用户数量的限制等。 而License文件中的Base64或BEA公司现在是WebLo
    2022-10-16 11:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载