elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.


Tema destacado: Entrar al Canal Oficial Telegram de elhacker.net


Páginas: 1 2 3 4 5 6 7 [8] 9 10
 71 
 en: 4 Septiembre 2025, 16:47 pm 
Iniciado por DaVinci4 - Último mensaje por Tachikomaia
Yo no entendí, probablemente no sé del tema ¿a qué te refieres con estado? ¿tamaño de las imágenes? ¿que la duración concuerde con lo que dice ser? En los metadatos.

Yo descargaba las cosas y luego veía si me servían o no. Videos que eran grabaciones del cine, mal sonido, idioma distinto al que esperaba, a veces lo contrario, demasiada calidad para la PC que tenía. Tocó buscar en otro lado.

 72 
 en: 4 Septiembre 2025, 15:22 pm 
Iniciado por DaVinci4 - Último mensaje por DaVinci4
hola amigos, tengo una cuestion, si me bajo un video de emule por ejemplo en .mkv o .mp4 hay alguna manera de comprobar el estado del video porejemplo lo que hace clonedvd con las peliculas para dejar la pelicula en condiciones .
espero haberme explicado bien. :huh:

 73 
 en: 4 Septiembre 2025, 14:19 pm 
Iniciado por Tachikomaia - Último mensaje por Tachikomaia
Últimamente he estado evitando pensar en ciertas cosas, pero aquí vuelvo.

EdePC, hablas de un código que convierte decimal en binario, por ahora quiero resolver el problema inverso: Binario a decimal. El título del tema está al revés porque pensé que fallaba un proceso que hago luego.
A ti y a Flamer, esto fue lo que pasó con GPT:

Yo además estaba un poco apurado así que no había visto su explicación.

Estuve hablando más con él sobre el código pero ya me quedé sin puntos. No avancé mucho. Espero retomar esto antes la próxima vez.

 74 
 en: 4 Septiembre 2025, 11:24 am 
Iniciado por Tachikomaia - Último mensaje por Tachikomaia
Funcionó  :)

N solo cambiará a M si arrastras horizontalmente hacia la izquierda y solo si le quitas los $, pero que luego M cambie a O?, eso ya está raro, supongo que te equivocaste
Correcto, creo que estaba pensando desde N hacia atrás, hacia lo que tenía hecho, y luego pensé hacia adelante, o simplemente me entreveré el abecedario xP

Citar
Recuerda que puedes presionar el atajo de teclado F4 para que la fijación ($) vaya cambiando entre: Fijar todo ($A$1), solo Columna ($A1), solo Fila (A$1) o nada (A1), obviamente tienes que tener el cursor en el A1 o seleccionarlo, también te vale para Rangos (A1:A5)
Antes no sabía que servía para ir variando qué se fija, pensé que era todo o nada.

 75 
 en: 4 Septiembre 2025, 03:05 am 
Iniciado por El_Andaluz - Último mensaje por stack
Usando el link que ha puesto @Daniel se ha descargado perfectamente sin problemas tambien.




Saludos.

 76 
 en: 3 Septiembre 2025, 22:19 pm 
Iniciado por El_Andaluz - Último mensaje por ehn@
Hola, lo he subido a Mediafire, ahí no tendrán problemas:

Link: https://www.mediafire.com/file/v02bcl9ddvobpb0/wifislax64-4.0-final.iso/file
SHA-256: 8b3dfd3c66420c9c16d8f58069d93da2678743283782a453e3becbfa82b2d1a6
MD5: b441e654c8bacc0f928b9b732b1a4039

 :P :P :P

 77 
 en: 3 Septiembre 2025, 04:16 am 
Iniciado por El_Andaluz - Último mensaje por Danielㅤ
Hola nuevamente!

Aquí lo tienen al link directo de descarga:

https://upfiles.download/file/download/eyJpdiI6InJCRk9removN1dZOW9lTDI5UW80S0E9PSIsInZhbHVlIjoidXhZVXpjVnZaOFF4d0ZWaGxNNjU0K0JJYTdwWFlSVWZFcFZZUU5kTTMzQi92eEFHSENyVmFoKzVqbXhzMSs1WS9tbGYrSHhobStUdGxSYkY2RzZ6Rnd5UDFDa2FCYUhsUU5FWUdZQXJUNmRHYWZUT1lPZVVMSzNhL3dtSFdhd2hhb2ZCM01OSmNoSlp6S1ZQVi9vczhWOXhIV1FCSGQxZzlicDY5UjJqQ3Z2M28vNmtEU3dPRG5sVWtDNU1ySnc5NVpHbThHdVFKS2xmTGhZUGpua3FkQUN3TS9HSHBNWUtEMFNxL0NUTytVbEJLUDhnY2pNUlo3Wmo3RFQzRU5Md00rTEkvdTlwY21pdnRYT2Y2MW80RkE9PSIsIm1hYyI6ImU4ZjE2YjYzNDE3NTMxZDIzZGY5Mzk3NGQ1MGMxZDVhYjQ3MTYxZmUzOTcwOWU4NDk2NjRhMDU5MTI4OTE5Y2MiLCJ0YWciOiIifQ==?expires=1756908898&signature=f53d8517b9d8675289f6a2112bc12966c7c91f9ef9f2c2c31f147353e93ba416

 78 
 en: 3 Septiembre 2025, 01:34 am 
Iniciado por Eleкtro - Último mensaje por Eleкtro
Métodos universales para trabajar (los últimos) aspectos básicos con fuentes de texto (.ttf y .otf)...

Funciones 'UtilFonts.GetFontGlyphOutlineData' y 'FontExtensions.GetGlyphOutlineData'

    Sirven para obtener los datos crudos de contorno (outline) de un glifo para un carácter específico en una fuente.

    Devuelven un array de bytes que representa la forma vectorial del glifo en el formato solicitado (Native o Bezier).

    Estos datos se pueden usar como base para comparaciones de glifos.

Funciones 'UtilFonts.FontGlyphOutlinesAreEqual' y 'FontExtensions.GlyphOutlinesAreEqual'

    Sirven para comparar si dos fuentes producen los mismos datos de contorno (outline) de un glifo para un carácter específico.

Funciones 'UtilFonts.GetFontGlyphOutlineSimilarity' y 'FontExtensions.GetGlyphOutlineSimilarity'

    Sirven para calcular un índice de similitud entre los contornos de un glifo para un carácter específico en dos fuentes distintas.

    Se puede usar cuando se quiere medir cuán parecidos son los glifos entre dos fuentes, en lugar de solo saber si son exactamente iguales.



El código fuente

⚠️ Importante: Para poder utilizar este código se requieren algunas definiciones de la API de Windows que he compartido en el post anterior a este. No lo comparto aquí de nuevo para evitar repetir código y evitar que este post quede demasiado grande y tedioso de leer. 🙏

Código
  1. Public Class UtilFonts
  2.  
  3.    ''' <summary>
  4.    ''' Prevents a default instance of the <see cref="UtilFonts"/> class from being created.
  5.    ''' </summary>
  6.    Private Sub New()
  7.    End Sub
  8.  
  9.    ''' <summary>
  10.    ''' Retrieves the raw outline data for a given glyph from the specified font file.
  11.    ''' <para></para>
  12.    ''' This function calls <see cref="DevCase.Win32.NativeMethods.GetGlyphOutline"/> in background
  13.    ''' to retrieve outline data with the requested <paramref name="format"/>.
  14.    ''' </summary>
  15.    '''
  16.    ''' <param name="fontFile">
  17.    ''' Path to the font file from which the glyph will be obtained.
  18.    ''' </param>
  19.    '''
  20.    ''' <param name="ch">
  21.    ''' The character whose glyph outline will be requested.
  22.    ''' </param>
  23.    '''
  24.    ''' <param name="format">
  25.    ''' The format in which the glyph outline will be retrieved.
  26.    ''' <para></para>
  27.    ''' This value only can be <see cref="GetGlyphOutlineFormat.Native"/> or <see cref="GetGlyphOutlineFormat.Bezier"/>.
  28.    ''' <para></para>
  29.    ''' Note: callers must interpret the returned byte array based on the selected format.
  30.    ''' </param>
  31.    '''
  32.    ''' <param name="matrix">
  33.    ''' An optional <see cref="GlyphOutlineMatrix2"/> used to transform the glyph outline.
  34.    ''' <para></para>
  35.    ''' If no value is provided or default structure is passed, an identity matrix
  36.    ''' will be used (see: <see cref="GlyphOutlineMatrix2.GetIdentityMatrix()"/>),
  37.    ''' where the transfromed graphical object is identical to the source object.
  38.    ''' </param>
  39.    '''
  40.    ''' <returns>
  41.    ''' A <see cref="Byte"/> array containing the raw glyph outline data with the requested <paramref name="format"/>.
  42.    ''' <para></para>
  43.    ''' Returns <see langword="Nothing"/> if the glyph is empty in the specified font.
  44.    ''' </returns>
  45.    '''
  46.    ''' <exception cref="FileNotFoundException">
  47.    ''' Thrown when the font file is not found.
  48.    ''' </exception>
  49.    <DebuggerStepThrough>
  50.    Public Shared Function GetFontGlyphOutlineData(fontFile As String, ch As Char, format As GetGlyphOutlineFormat,
  51.                                                   Optional matrix As GlyphOutlineMatrix2 = Nothing) As Byte()
  52.  
  53.        If Not File.Exists(fontFile) Then
  54.            Throw New FileNotFoundException("Font file not found.", fileName:=fontFile)
  55.        End If
  56.  
  57.        Using pfc As New PrivateFontCollection()
  58.            pfc.AddFontFile(fontFile)
  59.  
  60.            Using f As New Font(pfc.Families(0), emSize:=1)
  61.                Return FontExtensions.GetGlyphOutlineData(f, ch, format, matrix)
  62.            End Using
  63.        End Using
  64.    End Function
  65.  
  66.    ''' <summary>
  67.    ''' Determines whether the glyph outline for the specified character is identical in two font files.
  68.    ''' </summary>
  69.    '''
  70.    ''' <param name="firstFontFile">
  71.    ''' Path to the first font file to compare.
  72.    ''' </param>
  73.    '''
  74.    ''' <param name="secondFontFile">
  75.    ''' Path to the second font file to compare.
  76.    ''' </param>
  77.    '''
  78.    ''' <param name="ch">
  79.    ''' The character whose glyph outline will be compared between the two fonts.
  80.    ''' </param>
  81.    '''
  82.    ''' <returns>
  83.    ''' <see langword="True"/> if both fonts produce identical outlines for the specified glyph.
  84.    ''' <para></para>
  85.    ''' <see langword="False"/> if the outlines differ or if one of the fonts has an empty glyph.
  86.    ''' If the glyph outlines are empty in both fonts, returns <see langword="True"/>.
  87.    ''' </returns>
  88.    '''
  89.    ''' <exception cref="FileNotFoundException">
  90.    ''' Thrown when one of the font files is not found.
  91.    ''' </exception>
  92.    <DebuggerStepThrough>
  93.    Public Shared Function FontGlyphOutlinesAreEqual(firstFontFile As String, secondFontFile As String, ch As Char) As Boolean
  94.  
  95.        If Not File.Exists(firstFontFile) Then
  96.            Throw New FileNotFoundException("First font file not found.", fileName:=firstFontFile)
  97.        End If
  98.  
  99.        If Not File.Exists(secondFontFile) Then
  100.            Throw New FileNotFoundException("Second ont file not found.", fileName:=secondFontFile)
  101.        End If
  102.  
  103.        Using firstPfc As New PrivateFontCollection(),
  104.              secondPfc As New PrivateFontCollection()
  105.  
  106.            firstPfc.AddFontFile(firstFontFile)
  107.            secondPfc.AddFontFile(secondFontFile)
  108.  
  109.            Using firstFont As New Font(firstPfc.Families(0), emSize:=1),
  110.                  secondFont As New Font(secondPfc.Families(0), emSize:=1)
  111.  
  112.                Return FontExtensions.GlyphOutlineIsEqualTo(firstFont, secondFont, ch)
  113.            End Using
  114.        End Using
  115.    End Function
  116.  
  117.    ''' <summary>
  118.    ''' Computes a similarity score between the glyph outline for the specified character in two font files.
  119.    ''' </summary>
  120.    '''
  121.    ''' <param name="firstFontFile">
  122.    ''' Path to the first font file to compare.
  123.    ''' </param>
  124.    '''
  125.    ''' <param name="secondFontFile">
  126.    ''' Path to the second font file to compare.
  127.    ''' </param>
  128.    '''
  129.    ''' <param name="ch">
  130.    ''' The character whose glyph outline will be compared between the two fonts.
  131.    ''' </param>
  132.    '''
  133.    ''' <returns>
  134.    ''' A <see cref="Single"/> value between 0.0 and 1.0 representing the similarity
  135.    ''' (the number of matching bytes in the outline data) of the glyph outlines.
  136.    ''' <para></para>
  137.    ''' If one of the fonts has an empty glyph, returns 0. If the glyph outlines are empty in both fonts, returns 1.
  138.    ''' </returns>
  139.    '''
  140.    ''' <exception cref="FileNotFoundException">
  141.    ''' Thrown when one of the font files is not found.
  142.    ''' </exception>
  143.    <DebuggerStepThrough>
  144.    Public Shared Function GetFontGlyphOutlineSimilarity(firstFontFile As String, secondFontFile As String, ch As Char) As Single
  145.  
  146.        If Not File.Exists(firstFontFile) Then
  147.            Throw New FileNotFoundException("First font file not found.", fileName:=firstFontFile)
  148.        End If
  149.  
  150.        If Not File.Exists(secondFontFile) Then
  151.            Throw New FileNotFoundException("Second ont file not found.", fileName:=secondFontFile)
  152.        End If
  153.  
  154.        Using firstPfc As New PrivateFontCollection(),
  155.              secondPfc As New PrivateFontCollection()
  156.  
  157.            firstPfc.AddFontFile(firstFontFile)
  158.            secondPfc.AddFontFile(secondFontFile)
  159.  
  160.            Using firstFont As New Font(firstPfc.Families(0), emSize:=1),
  161.                  secondFont As New Font(secondPfc.Families(0), emSize:=1)
  162.  
  163.                Return FontExtensions.GetGlyphOutlineSimilarity(firstFont, secondFont, ch)
  164.            End Using
  165.        End Using
  166.    End Function
  167.  
  168. End Class

y:

Código
  1. Module FontExtensions
  2.  
  3.    ''' <summary>
  4.    ''' Retrieves the raw outline data for a given glyph from the specified <see cref="System.Drawing.Font"/>.
  5.    ''' <para></para>
  6.    ''' This function calls <see cref="DevCase.Win32.NativeMethods.GetGlyphOutline"/> in background
  7.    ''' to retrieve outline data with the requested <paramref name="format"/>.
  8.    ''' </summary>
  9.    '''
  10.    ''' <param name="font">
  11.    ''' The <see cref="System.Drawing.Font"/> object from which the glyph will be obtained.
  12.    ''' </param>
  13.    '''
  14.    ''' <param name="ch">
  15.    ''' The character whose glyph outline will be requested.
  16.    ''' </param>
  17.    '''
  18.    ''' <param name="format">
  19.    ''' The format in which the glyph outline will be retrieved.
  20.    ''' <para></para>
  21.    ''' This value only can be <see cref="GetGlyphOutlineFormat.Native"/> or <see cref="GetGlyphOutlineFormat.Bezier"/>.
  22.    ''' <para></para>
  23.    ''' Note: callers must interpret the returned byte array based on the selected format.
  24.    ''' </param>
  25.    '''
  26.    ''' <param name="matrix">
  27.    ''' An optional <see cref="GlyphOutlineMatrix2"/> used to transform the glyph outline.
  28.    ''' <para></para>
  29.    ''' If no value is provided or default structure is passed, an identity matrix
  30.    ''' will be used (see: <see cref="GlyphOutlineMatrix2.GetIdentityMatrix()"/>),
  31.    ''' where the transfromed graphical object is identical to the source object.
  32.    ''' </param>
  33.    '''
  34.    ''' <returns>
  35.    ''' A <see cref="Byte"/> array containing the raw glyph outline data with the requested <paramref name="format"/>.
  36.    ''' <para></para>
  37.    ''' Returns <see langword="Nothing"/> if the glyph is empty in the specified <paramref name="font"/>.
  38.    ''' </returns>
  39.    '''
  40.    ''' <exception cref="ArgumentNullException">
  41.    ''' Thrown when <paramref name="font"/> is <see langword="Nothing"/>.
  42.    ''' </exception>
  43.    '''
  44.    ''' <exception cref="ArgumentException">
  45.    ''' Thrown when the specified <paramref name="format"/> is invalid to request glyph outline data.
  46.    ''' </exception>
  47.    '''
  48.    ''' <exception cref="System.ComponentModel.Win32Exception">
  49.    ''' Thrown when a Win32 error occurs during font or device context operations.
  50.    ''' </exception>
  51.    <Extension>
  52.    <EditorBrowsable(EditorBrowsableState.Always)>
  53.    <DebuggerStepThrough>
  54.    Public Function GetGlyphOutlineData(font As Font, ch As Char, format As GetGlyphOutlineFormat,
  55.                                        Optional matrix As GlyphOutlineMatrix2 = Nothing) As Byte()
  56.  
  57.        If font Is Nothing Then
  58.            Throw New ArgumentNullException(paramName:=NameOf(font))
  59.        End If
  60.  
  61.        If format <> GetGlyphOutlineFormat.Native AndAlso
  62.           format <> GetGlyphOutlineFormat.Bezier Then
  63.  
  64.            Dim msg As String = $"The specified format '{format}' does not produce glyph outline data. " & Environment.NewLine &
  65.                                $"Use '{NameOf(GetGlyphOutlineFormat.Native)}' or '{NameOf(GetGlyphOutlineFormat.Bezier)}' " &
  66.                                "formats to request glyph outline data."
  67.  
  68.            Throw New ArgumentException(msg, paramName:=NameOf(format))
  69.        End If
  70.  
  71.        Dim hdc As IntPtr
  72.        Dim hFont As IntPtr
  73.        Dim oldObj As IntPtr
  74.  
  75.        Dim win32Err As Integer
  76.  
  77.        Try
  78.            hFont = font.ToHfont()
  79.            hdc = NativeMethods.CreateCompatibleDC(IntPtr.Zero)
  80.            oldObj = NativeMethods.SelectObject(hdc, hFont)
  81.            win32Err = Marshal.GetLastWin32Error()
  82.            If oldObj = IntPtr.Zero OrElse oldObj = DevCase.Win32.Common.Constants.HGDI_ERROR Then
  83.                Throw New Win32Exception(win32Err)
  84.            End If
  85.  
  86.            Dim chCode As UInteger = CUInt(Convert.ToInt32(ch))
  87.            If matrix.Equals(New GlyphOutlineMatrix2()) Then
  88.                matrix = GlyphOutlineMatrix2.GetIdentityMatrix()
  89.            End If
  90.  
  91.            Dim needed As UInteger = NativeMethods.GetGlyphOutline(hdc, chCode, format, Nothing, Nothing, Nothing, matrix)
  92.  
  93.            win32Err = Marshal.GetLastWin32Error()
  94.  
  95.            Select Case needed
  96.                Case 0UI
  97.                    ' Zero curve data points were returned, meaning the glyph is empty.
  98.                    Return Nothing
  99.  
  100.                Case DevCase.Win32.Common.Constants.GDI_ERROR
  101.                    If win32Err = Win32ErrorCode.ERROR_SUCCESS Then
  102.                        ' The function returned GDI_ERROR, but no error recorded by GetLastError, meaning the function succeeded.
  103.                        ' Tests carried out have shown that when this happens the glyph simply does not exists.
  104.                        Return Nothing
  105.                    Else
  106.                        Throw New Win32Exception(win32Err)
  107.                    End If
  108.  
  109.                Case Else
  110.                    Dim bufferPtr As IntPtr = Marshal.AllocHGlobal(New IntPtr(needed))
  111.                    Try
  112.                        Dim got As UInteger = NativeMethods.GetGlyphOutline(hdc, chCode, format, Nothing, needed, bufferPtr, matrix)
  113.                        win32Err = Marshal.GetLastWin32Error()
  114.                        If got = DevCase.Win32.Common.Constants.GDI_ERROR AndAlso
  115.                           win32Err <> Win32ErrorCode.ERROR_SUCCESS Then
  116.                            Throw New Win32Exception(win32Err)
  117.                        End If
  118.  
  119.                        Dim result(CInt(got) - 1) As Byte
  120.                        Marshal.Copy(bufferPtr, result, 0, CInt(got))
  121.                        Return result
  122.                    Finally
  123.                        Marshal.FreeHGlobal(bufferPtr)
  124.                    End Try
  125.  
  126.            End Select
  127.  
  128.        Finally
  129.            If hFont <> IntPtr.Zero Then
  130.                NativeMethods.DeleteObject(hFont)
  131.            End If
  132.            If oldObj <> IntPtr.Zero Then
  133.                NativeMethods.DeleteObject(oldObj)
  134.            End If
  135.            If hdc <> IntPtr.Zero Then
  136.                NativeMethods.DeleteDC(hdc)
  137.            End If
  138.  
  139.        End Try
  140.  
  141.    End Function
  142.  
  143.    ''' <summary>
  144.    ''' Determines whether the glyph outline for the specified character in the source <see cref="System.Drawing.Font"/>
  145.    ''' is identical to the glyph outline of the same character in another <see cref="System.Drawing.Font"/>.
  146.    ''' </summary>
  147.    '''
  148.    ''' <param name="firstFont">
  149.    ''' The first <see cref="System.Drawing.Font"/> to compare.
  150.    ''' </param>
  151.    '''
  152.    ''' <param name="secondFont">
  153.    ''' The second <see cref="System.Drawing.Font"/> to compare.
  154.    ''' </param>
  155.    '''
  156.    ''' <param name="ch">
  157.    ''' The character whose glyph outline will be compared between the two fonts.
  158.    ''' </param>
  159.    '''
  160.    ''' <returns>
  161.    ''' <see langword="True"/> if both fonts produce identical outlines for the specified glyph.
  162.    ''' <para></para>
  163.    ''' <see langword="False"/> if the outlines differ or if one of the fonts has an empty glyph.
  164.    ''' If the glyph outlines are empty in both fonts, returns <see langword="True"/>.
  165.    ''' </returns>
  166.    <Extension>
  167.    <EditorBrowsable(EditorBrowsableState.Always)>
  168.    <DebuggerStepThrough>
  169.    Public Function GlyphOutlinesAreEqual(firstFont As Font, secondFont As Font, ch As Char) As Boolean
  170.  
  171.        Dim firstBytes As Byte() = FontExtensions.GetGlyphOutlineData(firstFont, ch, GetGlyphOutlineFormat.Native)
  172.        Dim secondBytes As Byte() = FontExtensions.GetGlyphOutlineData(secondFont, ch, GetGlyphOutlineFormat.Native)
  173.  
  174.        Return (firstBytes Is Nothing AndAlso secondBytes Is Nothing) OrElse
  175.               (
  176.                 (firstBytes Is Nothing = (secondBytes Is Nothing)) AndAlso
  177.                  firstBytes.SequenceEqual(secondBytes)
  178.               )
  179.    End Function
  180.  
  181.    ''' <summary>
  182.    ''' Computes a similarity score between the glyph outline for the
  183.    ''' specified character in the source <see cref="System.Drawing.Font"/>,
  184.    ''' and the the glyph outline of the same character in another <see cref="System.Drawing.Font"/>.
  185.    ''' </summary>
  186.    '''
  187.    ''' <param name="firstFont">
  188.    ''' The first <see cref="System.Drawing.Font"/> to compare.
  189.    ''' </param>
  190.    '''
  191.    ''' <param name="secondFont">
  192.    ''' The second <see cref="System.Drawing.Font"/> to compare.
  193.    ''' </param>
  194.    '''
  195.    ''' <param name="ch">
  196.    ''' The character whose glyph outlines will be compared between the two fonts.
  197.    ''' </param>
  198.    '''
  199.    ''' <returns>
  200.    ''' A <see cref="Single"/> value between 0.0 and 1.0 representing the similarity
  201.    ''' (the number of matching bytes in the outline data) of the glyph outlines.
  202.    ''' <para></para>
  203.    ''' If one of the fonts has an empty glyph, returns 0. If the glyph outlines are empty in both fonts, returns 1.
  204.    ''' </returns>
  205.    <Extension>
  206.    <EditorBrowsable(EditorBrowsableState.Always)>
  207.    <DebuggerStepThrough>
  208.    Public Function GetGlyphOutlineSimilarity(firstFont As Font, secondFont As Font, ch As Char) As Single
  209.  
  210.        Dim firstBytes As Byte() = FontExtensions.GetGlyphOutlineData(firstFont, ch, GetGlyphOutlineFormat.Native)
  211.        Dim secondBytes As Byte() = FontExtensions.GetGlyphOutlineData(secondFont, ch, GetGlyphOutlineFormat.Native)
  212.  
  213.        If firstBytes Is Nothing AndAlso secondBytes Is Nothing Then
  214.            Return 1.0F
  215.        End If
  216.  
  217.        If (firstBytes Is Nothing) <> (secondBytes Is Nothing) Then
  218.            Return 0.0F
  219.        End If
  220.  
  221.        Dim maxLength As Integer = System.Math.Max(firstBytes.Length, secondBytes.Length)
  222.        Dim minLength As Integer = System.Math.Min(firstBytes.Length, secondBytes.Length)
  223.        Dim equalCount As Integer = 0
  224.  
  225.        For i As Integer = 0 To minLength - 1
  226.            If firstBytes(i) = secondBytes(i) Then
  227.                equalCount += 1
  228.            End If
  229.        Next
  230.  
  231.        Return CSng(equalCount) / maxLength
  232.    End Function
  233.  
  234. End Module

 79 
 en: 2 Septiembre 2025, 23:36 pm 
Iniciado por El_Andaluz - Último mensaje por El_Andaluz
Buenas LUAAAS a ver si algún compañero ya sea Daniel u otro compañero no le importa volver a subir el enlace de una forma más rápida y que no tenga tanta publicidad porque te sale muchas ventanas emergentes.


 ;)

 80 
 en: 2 Septiembre 2025, 22:05 pm 
Iniciado por Kerstui - Último mensaje por @XSStringManolo
Muy bien, vamos a concretar. Dejemos a un lado las analogías filosóficas, los "otros planos" y la retórica vaga. Estamos en un foro de hacking tratando criptografía, no de metafísica.

Has hecho una afirmación extraordinaria: que puedes revertir SHA-256. La carga de la prueba te corresponde exclusivamente a ti. Hasta ahora, solo has ofrecido palabras grandilocuentes y cero sustancia.

Por lo tanto, te reto a que demuestres tu método aquí y ahora, de la siguiente manera:

1.  Yo genero el hash SHA-256 de una frase sencilla y pública.
2.  Tú, usando tu método revolucionario, revertirás el hash y me dirás exactamente cuál era la frase original.
3.  Si lo logras, no solo me retractaré sino que seré el primero en reconocer tu hazaña ante la comunidad mundial.

Aquí está el hash: 1097f043954c77241586c4f8b674f77908e8038bc615334cf76af17921218156

Es el hash de una frase en Español. Si tu método es válido, esto te tomará segundos de revertir.

Si no puedes hacerlo (y estoy absolutamente seguro de que no podrás), entonces quedará claro para todos los lectores del foro que tus afirmaciones son pseudociencia pura y dura. Este tipo de charlatanería, envuelta en lenguaje técnico para sonar convincente, es una táctica manipulativa clásica que solo busca hacer perder el tiempo a la gente, promocionar libros inútiles para lucrarse y estafa y alimentar el ego de quien la propaga.

No merece más debate, ni sutilezas, ni "investigación" por parte de nadie. Un principio fundamental de la ciencia, hacking, cripto y la ingeniería es que las afirmaciones pueden ser descartadas sin evidencia. Y tú no has presentado absolutamente ninguna.

Este es el fin de esta discusión. La pelota está en tu tejado. Demuéstralo o admite que estabas equivocado. Cualquier otra respuesta que no sea la solución al hash o una retractación será ignorada como lo que es, más evasivas.

Páginas: 1 2 3 4 5 6 7 [8] 9 10
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines