PageRenderTime 32ms CodeModel.GetById 12ms app.highlight 15ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/bouncycastle/docs/org/bouncycastle/crypto/engines/VMPCEngine.html

https://bitbucket.org/arkban/somersault
HTML | 508 lines | 430 code | 54 blank | 24 comment | 0 complexity | 4e5d2ebf56197a8d27c21af800886852 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, Apache-2.0
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.6.0) on Mon Jan 11 13:46:35 EST 2010 -->
  6<TITLE>
  7VMPCEngine (Bouncy Castle Library 1.45 API Specification)
  8</TITLE>
  9
 10<META NAME="date" CONTENT="2010-01-11">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14<SCRIPT type="text/javascript">
 15function windowTitle()
 16{
 17    if (location.href.indexOf('is-external=true') == -1) {
 18        parent.document.title="VMPCEngine (Bouncy Castle Library 1.45 API Specification)";
 19    }
 20}
 21</SCRIPT>
 22<NOSCRIPT>
 23</NOSCRIPT>
 24
 25</HEAD>
 26
 27<BODY BGCOLOR="white" onload="windowTitle();">
 28<HR>
 29
 30
 31<!-- ========= START OF TOP NAVBAR ======= -->
 32<A NAME="navbar_top"><!-- --></A>
 33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 35<TR>
 36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 37<A NAME="navbar_top_firstrow"><!-- --></A>
 38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 39  <TR ALIGN="center" VALIGN="top">
 40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 47  </TR>
 48</TABLE>
 49</TD>
 50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 51<b>Bouncy Castle Cryptography Library 1.45</b></EM>
 52</TD>
 53</TR>
 54
 55<TR>
 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 57&nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/TwofishEngine.html" title="class in org.bouncycastle.crypto.engines"><B>PREV CLASS</B></A>&nbsp;
 58&nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/VMPCKSA3Engine.html" title="class in org.bouncycastle.crypto.engines"><B>NEXT CLASS</B></A></FONT></TD>
 59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 60  <A HREF="../../../../index.html?org/bouncycastle/crypto/engines/VMPCEngine.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 61&nbsp;<A HREF="VMPCEngine.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 62&nbsp;<SCRIPT type="text/javascript">
 63  <!--
 64  if(window==top) {
 65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 66  }
 67  //-->
 68</SCRIPT>
 69<NOSCRIPT>
 70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 71</NOSCRIPT>
 72
 73
 74</FONT></TD>
 75</TR>
 76<TR>
 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 81</TR>
 82</TABLE>
 83<A NAME="skip-navbar_top"></A>
 84<!-- ========= END OF TOP NAVBAR ========= -->
 85
 86<HR>
 87<!-- ======== START OF CLASS DATA ======== -->
 88<H2>
 89<FONT SIZE="-1">
 90org.bouncycastle.crypto.engines</FONT>
 91<BR>
 92Class VMPCEngine</H2>
 93<PRE>
 94java.lang.Object
 95  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.crypto.engines.VMPCEngine</B>
 96</PRE>
 97<DL>
 98<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></DD>
 99</DL>
100<DL>
101<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCKSA3Engine.html" title="class in org.bouncycastle.crypto.engines">VMPCKSA3Engine</A></DD>
102</DL>
103<HR>
104<DL>
105<DT><PRE>public class <B>VMPCEngine</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></DL>
106</PRE>
107
108<P>
109<HR>
110
111<P>
112<!-- =========== FIELD SUMMARY =========== -->
113
114<A NAME="field_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118<B>Field Summary</B></FONT></TH>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>protected &nbsp;byte</CODE></FONT></TD>
123<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#n">n</A></B></CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
127</TR>
128<TR BGCOLOR="white" CLASS="TableRowColor">
129<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130<CODE>protected &nbsp;byte[]</CODE></FONT></TD>
131<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#P">P</A></B></CODE>
132
133<BR>
134&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138<CODE>protected &nbsp;byte</CODE></FONT></TD>
139<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#s">s</A></B></CODE>
140
141<BR>
142&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146<CODE>protected &nbsp;byte[]</CODE></FONT></TD>
147<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#workingIV">workingIV</A></B></CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154<CODE>protected &nbsp;byte[]</CODE></FONT></TD>
155<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#workingKey">workingKey</A></B></CODE>
156
157<BR>
158&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
159</TR>
160</TABLE>
161&nbsp;
162<!-- ======== CONSTRUCTOR SUMMARY ======== -->
163
164<A NAME="constructor_summary"><!-- --></A>
165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
167<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
168<B>Constructor Summary</B></FONT></TH>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#VMPCEngine()">VMPCEngine</A></B>()</CODE>
172
173<BR>
174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175</TR>
176</TABLE>
177&nbsp;
178<!-- ========== METHOD SUMMARY =========== -->
179
180<A NAME="method_summary"><!-- --></A>
181<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
184<B>Method Summary</B></FONT></TH>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#getAlgorithmName()">getAlgorithmName</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the name of the algorithm the cipher implements.</TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>&nbsp;void</CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#init(boolean, org.bouncycastle.crypto.CipherParameters)">init</A></B>(boolean&nbsp;forEncryption,
198     <A HREF="../../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto">CipherParameters</A>&nbsp;params)</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initialise a VMPC cipher.</TD>
202</TR>
203<TR BGCOLOR="white" CLASS="TableRowColor">
204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205<CODE>protected &nbsp;void</CODE></FONT></TD>
206<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#initKey(byte[], byte[])">initKey</A></B>(byte[]&nbsp;keyBytes,
207        byte[]&nbsp;ivBytes)</CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
211</TR>
212<TR BGCOLOR="white" CLASS="TableRowColor">
213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214<CODE>&nbsp;void</CODE></FONT></TD>
215<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#processBytes(byte[], int, int, byte[], int)">processBytes</A></B>(byte[]&nbsp;in,
216             int&nbsp;inOff,
217             int&nbsp;len,
218             byte[]&nbsp;out,
219             int&nbsp;outOff)</CODE>
220
221<BR>
222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;process a block of bytes from in putting the result into out.</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>&nbsp;void</CODE></FONT></TD>
227<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#reset()">reset</A></B>()</CODE>
228
229<BR>
230&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reset the cipher.</TD>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
234<CODE>&nbsp;byte</CODE></FONT></TD>
235<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#returnByte(byte)">returnByte</A></B>(byte&nbsp;in)</CODE>
236
237<BR>
238&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;encrypt/decrypt a single byte returning the result.</TD>
239</TR>
240</TABLE>
241&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
242<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
243<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
244<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
248</TR>
249</TABLE>
250&nbsp;
251<P>
252
253<!-- ============ FIELD DETAIL =========== -->
254
255<A NAME="field_detail"><!-- --></A>
256<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
257<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
258<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
259<B>Field Detail</B></FONT></TH>
260</TR>
261</TABLE>
262
263<A NAME="n"><!-- --></A><H3>
264n</H3>
265<PRE>
266protected byte <B>n</B></PRE>
267<DL>
268<DL>
269</DL>
270</DL>
271<HR>
272
273<A NAME="P"><!-- --></A><H3>
274P</H3>
275<PRE>
276protected byte[] <B>P</B></PRE>
277<DL>
278<DL>
279</DL>
280</DL>
281<HR>
282
283<A NAME="s"><!-- --></A><H3>
284s</H3>
285<PRE>
286protected byte <B>s</B></PRE>
287<DL>
288<DL>
289</DL>
290</DL>
291<HR>
292
293<A NAME="workingIV"><!-- --></A><H3>
294workingIV</H3>
295<PRE>
296protected byte[] <B>workingIV</B></PRE>
297<DL>
298<DL>
299</DL>
300</DL>
301<HR>
302
303<A NAME="workingKey"><!-- --></A><H3>
304workingKey</H3>
305<PRE>
306protected byte[] <B>workingKey</B></PRE>
307<DL>
308<DL>
309</DL>
310</DL>
311
312<!-- ========= CONSTRUCTOR DETAIL ======== -->
313
314<A NAME="constructor_detail"><!-- --></A>
315<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
316<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
317<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
318<B>Constructor Detail</B></FONT></TH>
319</TR>
320</TABLE>
321
322<A NAME="VMPCEngine()"><!-- --></A><H3>
323VMPCEngine</H3>
324<PRE>
325public <B>VMPCEngine</B>()</PRE>
326<DL>
327</DL>
328
329<!-- ============ METHOD DETAIL ========== -->
330
331<A NAME="method_detail"><!-- --></A>
332<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
333<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
334<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
335<B>Method Detail</B></FONT></TH>
336</TR>
337</TABLE>
338
339<A NAME="getAlgorithmName()"><!-- --></A><H3>
340getAlgorithmName</H3>
341<PRE>
342public java.lang.String <B>getAlgorithmName</B>()</PRE>
343<DL>
344<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#getAlgorithmName()">StreamCipher</A></CODE></B></DD>
345<DD>Return the name of the algorithm the cipher implements.
346<P>
347<DD><DL>
348<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#getAlgorithmName()">getAlgorithmName</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
349</DD>
350<DD><DL>
351
352<DT><B>Returns:</B><DD>the name of the algorithm the cipher implements.</DL>
353</DD>
354</DL>
355<HR>
356
357<A NAME="init(boolean, org.bouncycastle.crypto.CipherParameters)"><!-- --></A><H3>
358init</H3>
359<PRE>
360public void <B>init</B>(boolean&nbsp;forEncryption,
361                 <A HREF="../../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto">CipherParameters</A>&nbsp;params)</PRE>
362<DL>
363<DD>initialise a VMPC cipher.
364<P>
365<DD><DL>
366<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#init(boolean, org.bouncycastle.crypto.CipherParameters)">init</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
367</DD>
368<DD><DL>
369<DT><B>Parameters:</B><DD><CODE>forEncryption</CODE> - whether or not we are for encryption.<DD><CODE>params</CODE> - the parameters required to set up the cipher.
370<DT><B>Throws:</B>
371<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the params argument is inappropriate.</DL>
372</DD>
373</DL>
374<HR>
375
376<A NAME="initKey(byte[], byte[])"><!-- --></A><H3>
377initKey</H3>
378<PRE>
379protected void <B>initKey</B>(byte[]&nbsp;keyBytes,
380                       byte[]&nbsp;ivBytes)</PRE>
381<DL>
382<DD><DL>
383</DL>
384</DD>
385<DD><DL>
386</DL>
387</DD>
388</DL>
389<HR>
390
391<A NAME="processBytes(byte[], int, int, byte[], int)"><!-- --></A><H3>
392processBytes</H3>
393<PRE>
394public void <B>processBytes</B>(byte[]&nbsp;in,
395                         int&nbsp;inOff,
396                         int&nbsp;len,
397                         byte[]&nbsp;out,
398                         int&nbsp;outOff)</PRE>
399<DL>
400<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#processBytes(byte[], int, int, byte[], int)">StreamCipher</A></CODE></B></DD>
401<DD>process a block of bytes from in putting the result into out.
402<P>
403<DD><DL>
404<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#processBytes(byte[], int, int, byte[], int)">processBytes</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
405</DD>
406<DD><DL>
407<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input byte array.<DD><CODE>inOff</CODE> - the offset into the in array where the data to be processed starts.<DD><CODE>len</CODE> - the number of bytes to be processed.<DD><CODE>out</CODE> - the output buffer the processed bytes go into.<DD><CODE>outOff</CODE> - the offset into the output byte array the processed data starts at.</DL>
408</DD>
409</DL>
410<HR>
411
412<A NAME="reset()"><!-- --></A><H3>
413reset</H3>
414<PRE>
415public void <B>reset</B>()</PRE>
416<DL>
417<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#reset()">StreamCipher</A></CODE></B></DD>
418<DD>reset the cipher. This leaves it in the same state
419 it was at after the last init (if there was one).
420<P>
421<DD><DL>
422<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
423</DD>
424<DD><DL>
425</DL>
426</DD>
427</DL>
428<HR>
429
430<A NAME="returnByte(byte)"><!-- --></A><H3>
431returnByte</H3>
432<PRE>
433public byte <B>returnByte</B>(byte&nbsp;in)</PRE>
434<DL>
435<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#returnByte(byte)">StreamCipher</A></CODE></B></DD>
436<DD>encrypt/decrypt a single byte returning the result.
437<P>
438<DD><DL>
439<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#returnByte(byte)">returnByte</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
440</DD>
441<DD><DL>
442<DT><B>Parameters:</B><DD><CODE>in</CODE> - the byte to be processed.
443<DT><B>Returns:</B><DD>the result of processing the input byte.</DL>
444</DD>
445</DL>
446<!-- ========= END OF CLASS DATA ========= -->
447<HR>
448
449
450<!-- ======= START OF BOTTOM NAVBAR ====== -->
451<A NAME="navbar_bottom"><!-- --></A>
452<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
453<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
454<TR>
455<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
456<A NAME="navbar_bottom_firstrow"><!-- --></A>
457<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
458  <TR ALIGN="center" VALIGN="top">
459  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
460  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
461  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
462  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
463  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
464  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
465  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
466  </TR>
467</TABLE>
468</TD>
469<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
470<b>Bouncy Castle Cryptography Library 1.45</b></EM>
471</TD>
472</TR>
473
474<TR>
475<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
476&nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/TwofishEngine.html" title="class in org.bouncycastle.crypto.engines"><B>PREV CLASS</B></A>&nbsp;
477&nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/VMPCKSA3Engine.html" title="class in org.bouncycastle.crypto.engines"><B>NEXT CLASS</B></A></FONT></TD>
478<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
479  <A HREF="../../../../index.html?org/bouncycastle/crypto/engines/VMPCEngine.html" target="_top"><B>FRAMES</B></A>  &nbsp;
480&nbsp;<A HREF="VMPCEngine.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
481&nbsp;<SCRIPT type="text/javascript">
482  <!--
483  if(window==top) {
484    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
485  }
486  //-->
487</SCRIPT>
488<NOSCRIPT>
489  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
490</NOSCRIPT>
491
492
493</FONT></TD>
494</TR>
495<TR>
496<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
497  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
498<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
499DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
500</TR>
501</TABLE>
502<A NAME="skip-navbar_bottom"></A>
503<!-- ======== END OF BOTTOM NAVBAR ======= -->
504
505<HR>
506
507</BODY>
508</HTML>