From 713c2255477579860d276d1c449e4dc9346c3c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=AE=E5=B7=9D=20=E8=B2=B4=E5=AD=90?= Date: Tue, 21 Aug 2012 07:26:36 +0900 Subject: [PATCH] =?UTF-8?q?phpseclib=E3=82=92=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/phpseclib.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/vendor/phpseclib.html b/vendor/phpseclib.html index 2805abc46..c165a81ff 100644 --- a/vendor/phpseclib.html +++ b/vendor/phpseclib.html @@ -46,48 +46,48 @@

PHPSecLib

-

Introduction

+

はじめに

- The PHP Secure Communications Library contains LGPL-licensed pure-PHP implementations of arbitrary-precision integers, - fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, SSH-1, SSH-2, and SFTP. This book discusses how to use them. + PHPのセキュリティで保護された通信ライブラリは、任意精度の整数のLGPLライセンスの純粋なPHPの実装が含まれています, + PKCS#1 (v2.1) に帰順したRSA, DES, 3DES, RC4, Rijndael, AES, SSH-1, SSH-2, そして SFTPです。この本はそれらを使用する方法について説明します。

-

Documentation

+

ドキュメンテーション

-

You can find the original PHPSecLib documentation here.

+

オリジナルのPHPSecLibドキュメントは こちらです。

-

FuelPHP Usage

+

FuelPHPの使用

- The PHPSecLib vendor package is used by FuelPHP in the Crypt class, to generate secure hashes, and in the Auth package, which uses PBKDF2. + PHPSecLibベンダのパッケージは、安全なハッシュを生成する為に、CryptクラスでFuelPHPで使用されています。PBKDF2を使用して認証パッケージにされています。

-

Application Usage

+

アプリケーションの使用状況

- For use in your application the PHPSecLib package has been converted to a namespaced, autoloader friendly library. - You can use it directly from your application. + アプリケーションで使用するためPHPSecLibパッケージは名前空間が付き、オートローダで、使いやすいライブラリになっています。 + アプリケーションから直接使用することができます。

<?php
 /**
- * Example controller that does an SSH login
+ * SSHログインを行うサンプルコントローラ
  */
 
 class Controller_Ssh extends Controller
 {
 	public function action_index()
 	{
-		// connect to my server
+		// サーバーに接続する
 		$ssh = new \PHPSecLib\Net_SSH2('myserver.example.org');
 
-		// login
+		// ログイン
 		if ( ! $ssh->login('username', 'password'))
 		{
 			throw new \Exception('ssh login failed');
 		}
 
-		// return the view that formats the directory list
+		// ディレクトリリストをViewに渡す。
 		return View::forge('ssh/dirinfo', array(
 			'pwd' => $ssh->exec('pwd'),
 			'info' => $ssh->exec('ls -la'),