OS2.GURU - NetDrive Cipher pluginOS2.GURU - NetDrive Cipher plugin

Welcome to eComStation.RU site!

Select your language: Russian English Deutch Spanish Italian Portuguese Czech Polish French

Frequently asked questions and answers:


+7-981-8529467 (Санкт-Петербург)
ru · en · de · es · it · pt · cz · pl · fr
OS/2 - это совершенно другая операционная система для PC (ArcaOS, eComStation, IBM OS/2 Warp)
Программы, новости, статьи, поддержка пользователей, оборудование, вопросы и ответы.
      Что такое OS/2?НовостиУстановкаОбновлениеПрименениеБудущееСообществоКупить    
(Карта сайта)

Списки протестированного OS/2 оборудования
Как получить драйверы OS/2 бесплатно




Преимущества (1)

Разработчику (1)

(Пайпы программ)

Компании: (1)

История (1):



(Барьеры и решения)

Технологии: (1)

(Применение в науке, лаборатории, ..)


Готовые решения:

Новая eComStation:

Будущее: (1)

(Ссылки на другие сайты)

(Картинка дня)

Артефакты OS/2


ArcaOS 5.0 Русская версия
Пакет русификации ArcaOS 5.0 OS/2 давно доступен. Поддерживается любая версия: 5.0, 5.0.1, 5.0.2.

eCo Software может выпустить и другие пакеты (Немецкий, Голландский, Бразильский Португальский, Испанский, Шведский и т.д.)

NetDrive Cipher plugin

TITLE: NetDrive Cipher plugin

DATE: 2001-09-04 00:21:20

AUTHOR: Andrei A. Porodko

Вам нужен переводчик
Перейдите на сайт http://translate.google.com
и запросите перевод http://en.ecomstation./showarticle.php?id=13
на свой язык

Introduction. One day I realised that I need to hide some of my data from strangers. That doesn't mean I have an access to X-Files, but everybody has something "for his eyes only". That's getting more important in case have your own business. Nobody yet has disabled the market competition. I've searched the Hobbes archive and other Internet sites for an application that would allow me to encrypt my data. Most of found links are dead, some developers had moved to Windows or Linux. Nevertheless I've found some useful products. Unfortunately they use old encryption algorithms such as DES. I thought that there must be an application with stronger encryption, and I was right, because there was the Cipher plugin for NetDrive for OS/2.

What is the Cipher plugin ? Cipher plugin is a dynamic loadable library that used by NetDrive for OS/2 for transparent data encryption/decryption. Like all NetDrive plugins the Cipher is a part of the IFS (installable file system) called NDFS (NetDrive File System). It works imperceptibly and quietly, but provides strong encryption and as a result good privacy for your data.

What can and can't the Cipher plugin do ? Cipher plugin allows you to create protected disks and folders within NetDrive File System and to use the data stored on those disks and folders as if it was ordinary data on an ordinary OS/2 storage device. Cipher protects selected part of files on your disk or diskette, in addition Cipher hides the file date/time and size. Cipher can't encrypt neither your e-mail messages sending via cables nor any traffic in wires. For those purposes you can use other products, for example PGP for e-mail, IBM firewall for private networks.

Cipher plugin can use different cryptography methods (algorithms). At the moment the following methods are ready to use:

  1. Blowfish, key length 1-56 bytes;
  2. Cast 256, 1-32 bytes;
  3. GOST (this is the standard method in Russian), 32 bytes;
  4. Loki97, 1-32 bytes;
  5. Mars, 1-160 bytes;
  6. RC6, 1-255 bytes;
  7. Rijndael, 1-32 bytes;
  8. Safer Plus, 1-32 bytes;
  9. Serpent, 4, 8, 12 ... 32 bytes;
  10. Tripple Des, 24 bytes;
  11. Twofish, with 16, 24, 32 bytes keys long.

How to install ? Plugin installations is very easy with the NetDrive 2.0 version. Cipher plugin distributed in archive ndpcphr.zip. You have to unzip it into an empty directory. Then run instlpl.cmd from the directory. You do not have to reboot the system.

How to work with Cipher plugin ? Create a directory somewhere on your hard disk or diskette (of course it can be a root directory). Inside this directory you will store crypted data. Decide which crypt-algorithm is preferable for your aims and what will be the key length. We don't provide any information about that, because data protection is rather complicated field and it is better to find good expert. You can read about algorithms those used in the plugin at the sources listed in Bibliography.

As every NetDrive resource, Cipher has to be mounted before accessing. Note. There is a sample sequence of commands for mounting Cipher resource :

nd attach u:
nd createmp u:\Secret
nd mount cipher u:\Secret ;name=blowfish.dll;root=D:\Secret;round=1;key=C:\NDFS\key w

At first you create a new NetDrive drive letter.
Second line creates a mount point for mounting Cipher resource.
Third line mounts Cipher resource into the created mount point.
There are four parameters for the Cipher plugin :

name - name of the dynamic link library that implements encryption method you selected, all those libraries are in ndplugs\cipher sub-directory. If you use different cipher or cipher library is placed in another directory, you should enter full path to this library. There is no default value for this parameter.

root - the name of the directory we've created to save protected data to. There is no default value for this parameter.

round - number of encoding iterations (default - 1). Note : more iterations provides stronger encryption but less speed.

key - full name for the file where your key (key is a sequence of hexadecimal digits) is saved. There is no default value for this parameter.

Note. Cipher plugin needs your key only during mounting, after that you can (have to ?) remove the diskette with a key and put it in safe place. NOTE. YOU HAVE TO KEEP YOUR KEYS IN THE SAFE PLACE !!! Don't spread keys around your disks, write them into diskette, make a copy and keep both copies separated somewhere physically protected.

You can also use NetDrive Control Panel to mount Cipher resource. Look at the screen shot below :

You attach new drive and create mount point by pressing a few buttons. Than you select the created mount point and press 'Mount' button. Choose 'cipher' type form the list and to fill in the form with values described earlier. In the Control Panel you can save all your adjustments and then restore whenever you need.

After mounting, Cipher resource is ready to use. All files copied or created in the mount point will be encrypted and saved in cipher. Plugin doesn't keep your key in memory, so that fact decreases the probability of its unfolding. To close the access to your encrypted data you should unmount Cipher:

nd unmount u:\Secret 0

This action could be performed on the Control Panel by selecting the Cipher resource and pressing "Unmount" button.

I would like to offer more secure and convenient way on my opinion - install one of hot-key popup managers and assign unmount action to one of the hot-keys. I installed "Keyboard Plus" taken from Hobbes archive. And now Ctrl-Alt-F12 closes access to my private data.

There is another important thing you should know - key generation. Utility for key generation cryptkey.exe is included in the plugin distribution package and is placed into the NetDrive directory (usually C:\NDFS). Cyptkey.exe is designed as a command line utility in an expectation of a very seldom usage. Key generator has only one parameters, a number - length for generated key in bits (not bytes !) of the key to be generated.

For example I need a key with a length 128 bit (16 bytes long) :

C:\NDFS>cryptkey.exe 128

As you can see, program writes key on screen. Let's modify a bit our command line and redirect output into a file on diskette :

C:\NDFS>cryptkey.exe 128 >A:\mykey

Perhaps you'll find more useful the Rexx command file cipherkey.cmd which is also included in the plugin distribution package. It works directly with cipher names, keys lengths in bytes and writes the key immediately into the file.

Wrong arguments
Known ciphers are:
blowfish - valid key lengths are 1 - 56 bytes
cast256 - valid key lengths are 1 - 32 bytes
gost - valid key length is 32 bytes
loki97 - valid key lengths are 1 - 32 bytes
gost - valid key length is 32 bytes
mars - valid key length are 1 - 160 bytes
rc6 - valid key length are 1 - 255 bytes
rijndael - valid key length are 1 - 32 bytes
serpent - valid key length are 4 - 32 bytes by 4 bytes
tripdes - valid key length is 24 bytes
twofish - valid key length is 16, 24, 32 bytes

Note. Keys are random numbers. It's impossible to restore key if you've lost it. Key generator never produces two equal keys.

Cipher plugin has one side effect - if you mount FAT disk or diskette as a secure resource you will be able to save files and directories with long names there despite they aren't supported by such file systems.

In conclusion I want to illustrate the Cipher plugin usage. Imagine a firm with several computers. Firm's staff have to keep an electronic archive and from time to time have to exchange data on removable media (for example ZIP-diskette). They've got NetDrive and Cipher plugin installed. All removable media on those computers mounted through Cipher plugin. In such conditions if any diskette would be stolen, burglar never read even a word from your data.

If you have bug report or suggestions, you are welcome.

Bibliography, used algorithms references :


Cipher plugin (C) 2001 Nickk
NetDrive (C) 2000-2001 Blueprint Software Works. http://www.blueprintsoftware.com/netdrive
Documentation copyright (C) 2001 Andrei A. Porodko

Попробуй программу:

ACPI kernel - помогает снизить энергопотребление, шум (результаты эксприментов)


Axel Hagedorn
2001-11-19 23:32:11

The key generator takes a "byte"-parameter - not a "bit-parameter!
The given example for 128 bit actually shows a 128 byte key
(256 hex-numbers with each one representing 4 bit).

Прокомментируйте эту статью (напоминаем, автор работал над текстом несколько недель, уважайте мнение других).

Ваше имя:

Ваш E-Mail:



Ваш комментарий:

В новой версии eComStation 2.0 исправлено много старых проблем a) нет проблемы 16 букв на JFS, b) WPS ассоциации теперь работают, .. + мы исправили около тысячи багов. Что нового в eCS 2.0?


Операционная система
Программное обеспечение
Для разработчика
Колонка редактора

Готовая eComStation на SSD диске


Последний активный опрос: Какая высота барьера RPM?


IBM OS/2 Warp

Обучение новичков

Отчет: OS/2 совместимое оборудование


  Почему eComStation?
Ролики и скриншоты
   eComStation для
для бизнесменов
для студентов и инженеров
для продавцов компьютеров
сообщество пользователей
Распространить программу
Описание API, библиотеки
Начать новый проект
Он-лайн каталог
Выбрать через eCo Market
   Служба поддержки
Отправить вопрос
Купить eComStation
Вопросы и ответы
Обучение новичков
© 2001 - 2018 eCo Software, All rights reserved
eComStation is a registered trademark of Serenity Systems International
OS/2 Warp is a registered trademark of IBM Corporation


Картинка дня: